JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... id *ptr ); void *calloc(size_t nmemb , size_t size ); void *realloc(void *ptr , size_t size ); void *reallocarray(void *ptr , size_t nmemb , size_t size ); gli ... は定義されていない。 ptr が NULL の場合には、何の動作も行われない。 The calloc () function allocates memory for an array of nmemb elements of size bytes each and returns a pointer to the allocated memory. The memory is set to zero. If nmemb or size is ... 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, an integer overflow would not be ... ... id *ptr ); void *calloc(size_t nmemb , size_t size ); void *realloc(void *ptr , size_t size ); void *reallocarray(void *ptr , size_t nmemb , size_t size ); gli ... は定義されていない。 ptr が NULL の場合には、何の動作も行われない。 The calloc () function allocates memory for an array of nmemb elements of size bytes each and returns a pointer to the allocated memory. The memory is set to zero. If nmemb or size is ... 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, an integer overflow would not be ... ... id *ptr ); void *calloc(size_t nmemb , size_t size ); void *realloc(void *ptr , size_t size ); void *reallocarray(void *ptr , size_t nmemb , size_t size ); gli ... は定義されていない。 ptr が NULL の場合には、何の動作も行われない。 The calloc () function allocates memory for an array of nmemb elements of size bytes each and returns a pointer to the allocated memory. The memory is set to zero. If nmemb or size is ... 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, an integer overflow would not be ... ... id *ptr ); void *calloc(size_t nmemb , size_t size ); void *realloc(void *ptr , size_t size ); void *reallocarray(void *ptr , size_t nmemb , size_t size ); gli ... は定義されていない。 ptr が NULL の場合には、何の動作も行われない。 The calloc () function allocates memory for an array of nmemb elements of size bytes each and returns a pointer to the allocated memory. The memory is set to zero. If nmemb or size is ... 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, an integer overflow would not be ... ... id *ptr ); void *calloc(size_t nmemb , size_t size ); void *realloc(void *ptr , size_t size ); void *reallocarray(void *ptr , size_t nmemb , size_t size ); gli ... は定義されていない。 ptr が NULL の場合には、何の動作も行われない。 The calloc () function allocates memory for an array of nmemb elements of size bytes each and returns a pointer to the allocated memory. The memory is set to zero. If nmemb or size is ... 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, an integer overflow would not be ... ... * compar )(const void *, const void *)); void *lsearch(const void * key , void * base , size_t * nmemb , size_t size , int(* compar )(const void *, const void *)); 説明 lfind () と lsearch () は、 size バイトの要素 *nmemb 個か ... を返すことが期待されている。 lsearch () は、マッチする要素を見つけられなかったとき、 配列の最後に key をつけ加える。そして *nmemb を 1 ふやす。 したがって、この関数を使用する際には、マッチする要素が存在するか、 もしくは配列に要素を追加するための領域があ ... ... * compar )(const void *, const void *)); void *lsearch(const void * key , void * base , size_t * nmemb , size_t size , int(* compar )(const void *, const void *)); 説明 lfind () と lsearch () は、 size バイトの要素 *nmemb 個か ... を返すことが期待されている。 lsearch () は、マッチする要素を見つけられなかったとき、 配列の最後に key をつけ加える。そして *nmemb を 1 ふやす。 したがって、この関数を使用する際には、マッチする要素が存在するか、 もしくは配列に要素を追加するための領域があ ... ... ite(const void * ptr , size_t size , size_t nmemb , FILE * stream ); 説明 fread () 関数は stream ポインターで指定されたストリームから nmemb 個のデータを読み込み、 ptr で与え ... られた場所に格納する。 個々のデータは size バイトの長さを持つ。 fwrite () 関数は ptr で指定された場所から得た nmemb 個のデータを、 stream ポインターで指定されたストリームに書き込む。 個々のデータは size バイトの長さを持つ。 これらの処理を ... ... ite(const void * ptr , size_t size , size_t nmemb , FILE * stream ); 説明 fread () 関数は stream ポインターで指定されたストリームから nmemb 個のデータを読み込み、 ptr で与え ... られた場所に格納する。 個々のデータは size バイトの長さを持つ。 fwrite () 関数は ptr で指定された場所から得た nmemb 個のデータを、 stream ポインターで指定されたストリームに書き込む。 個々のデータは size バイトの長さを持つ。 これらの処理を ... ... void *)); void qsort_r(void * base , size_t nmemb , size_t size , int (* compar )(const void *, const void *, void *), void * arg ); glibc 向けの機能検査マクロの要件 ( feat ... ure_test_macros (7) 参照): qsort_r (): _GNU_SOURCE 説明 qsort () 関数は、 nmemb 個の大きさ size の要素をもつ配列を並べ変える。 base 引数は配列の先頭へのポインターである。 compar をポインターとする比較関 ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。