JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... re is defined as follows: struct mallinfo { int arena; /* Non-mmapped space allocated (bytes) */ int ordblks; /* Number of free chunks */ int smblks; /* Number of free fastbin blocks */ int hblks; /* Number of mmapped regions */ int hblkhd; /* Space ... allocated in mmapped regions (bytes) */ int usmblks; /* See below */ int fsmblks; /* Space in freed fastbin blocks (bytes) */ int uordblks; /* Total allocated space (bytes) */ int fordblks; /* Total free space (bytes) */ ... コマンドライン引数は malloc (3) で割り当てるブロック数とサイズを指定する。 残りの 3 つの引数は、どの割り当てられたブロックを free (3) で解放すべきかを指定する。 これらの 3 つの引数の指定は任意で、 最初のものから順に以下の情報を指定する。 1 つ目の引数は ... ... 当てられたメモリーに対する ポインターを返す。 メモリーの内容は初期化されない 。 size が 0 の場合、 malloc () は NULL または free () に後で渡しても問題の起こらない 一意なポインター値を返す。 free () 関数はポインター ptr が指すメモリー空間を解放する。こ ... 出された malloc (), calloc (), realloc () のいずれかが返した値で なければならない。これ以外のポインターを指定したり、すでに free(ptr) が実行 されていたりした場合の動作は定義されていない。 ptr が NULL の場合には、何の動作も行われない。 The calloc () fu ... nmemb or size is 0, then calloc () returns either NULL, or a unique pointer value that can later be successfully passed to free (). If the multiplication of nmemb and size would result in integer overflow, then calloc () returns an error. By contrast ... ... 当てられたメモリーに対する ポインターを返す。 メモリーの内容は初期化されない 。 size が 0 の場合、 malloc () は NULL または free () に後で渡しても問題の起こらない 一意なポインター値を返す。 free () 関数はポインター ptr が指すメモリー空間を解放する。こ ... 出された malloc (), calloc (), realloc () のいずれかが返した値で なければならない。これ以外のポインターを指定したり、すでに free(ptr) が実行 されていたりした場合の動作は定義されていない。 ptr が NULL の場合には、何の動作も行われない。 The calloc () fu ... nmemb or size is 0, then calloc () returns either NULL, or a unique pointer value that can later be successfully passed to free (). If the multiplication of nmemb and size would result in integer overflow, then calloc () returns an error. By contrast ... ... 当てられたメモリーに対する ポインターを返す。 メモリーの内容は初期化されない 。 size が 0 の場合、 malloc () は NULL または free () に後で渡しても問題の起こらない 一意なポインター値を返す。 free () 関数はポインター ptr が指すメモリー空間を解放する。こ ... 出された malloc (), calloc (), realloc () のいずれかが返した値で なければならない。これ以外のポインターを指定したり、すでに free(ptr) が実行 されていたりした場合の動作は定義されていない。 ptr が NULL の場合には、何の動作も行われない。 The calloc () fu ... nmemb or size is 0, then calloc () returns either NULL, or a unique pointer value that can later be successfully passed to free (). If the multiplication of nmemb and size would result in integer overflow, then calloc () returns an error. By contrast ... ... 当てられたメモリーに対する ポインターを返す。 メモリーの内容は初期化されない 。 size が 0 の場合、 malloc () は NULL または free () に後で渡しても問題の起こらない 一意なポインター値を返す。 free () 関数はポインター ptr が指すメモリー空間を解放する。こ ... 出された malloc (), calloc (), realloc () のいずれかが返した値で なければならない。これ以外のポインターを指定したり、すでに free(ptr) が実行 されていたりした場合の動作は定義されていない。 ptr が NULL の場合には、何の動作も行われない。 The calloc () fu ... nmemb or size is 0, then calloc () returns either NULL, or a unique pointer value that can later be successfully passed to free (). If the multiplication of nmemb and size would result in integer overflow, then calloc () returns an error. By contrast ... ... 当てられたメモリーに対する ポインターを返す。 メモリーの内容は初期化されない 。 size が 0 の場合、 malloc () は NULL または free () に後で渡しても問題の起こらない 一意なポインター値を返す。 free () 関数はポインター ptr が指すメモリー空間を解放する。こ ... 出された malloc (), calloc (), realloc () のいずれかが返した値で なければならない。これ以外のポインターを指定したり、すでに free(ptr) が実行 されていたりした場合の動作は定義されていない。 ptr が NULL の場合には、何の動作も行われない。 The calloc () fu ... nmemb or size is 0, then calloc () returns either NULL, or a unique pointer value that can later be successfully passed to free (). If the multiplication of nmemb and size would result in integer overflow, then calloc () returns an error. By contrast ... ... uide to the GNU Source-Level Debugger , Richard M. Stallman and Roland H. Pesch, July 1991. 著作権 Copyright (c) 1988-2022 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU ... Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with the Invariant Sect ... ions being ``Free Software'' and ``Free Software Needs Free Documentation'', with the Front-Cover Texts being ``A GNU Manual,'' and with the ... ... uide to the GNU Source-Level Debugger , Richard M. Stallman and Roland H. Pesch, July 1991. 著作権 Copyright (c) 1988-2022 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU ... Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with the Invariant Sect ... ions being ``Free Software'' and ``Free Software Needs Free Documentation'', with the Front-Cover Texts being ``A GNU Manual,'' and with the ... ... uide to the GNU Source-Level Debugger , Richard M. Stallman and Roland H. Pesch, July 1991. 著作権 Copyright (c) 1988-2022 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU ... Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with the Invariant Sect ... ions being ``Free Software'' and ``Free Software Needs Free Documentation'', with the Front-Cover Texts being ``A GNU Manual,'' and with the ... ... id cfree(void * ptr ); /* SCO OpenServer では */ void cfree(char * ptr , unsigned num , unsigned size ); /* Solaris watchmalloc.so. ... 1 では */ void cfree(void * ptr , size_t nelem , size_t elsize ); glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): cfree (): S ... 19: _DEFAULT_SOURCE Glibc 2.19 and earlier: _BSD_SOURCE || _SVID_SOURCE 説明 この関数は決して使用すべきではない。 代わりに free (3) を使うこと。 glibc 2.26 以降では、この関数は glibc から削除されている。 引数が 1 つの cfree glibc では、関数 cfree () ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。