JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... 元のスタックフレームに割り付ける。 この一時的な領域は、 alloca () を呼び出した関数が呼出元に返るときに自動的に解放される。 返り値 alloca () 関数は、割り付けた領域の始まりを指すポインター ... 動作は定義されていない。 属性 この節で使用されている用語の説明については、 attributes (7) を参照。 インターフェース 属性 値 alloca () Thread safety MT-Safe 準拠 この関数は POSIX.1 にはない。 32V, PWB, PWB.2, 3BSD, 4BSD に alloca () 関数が登場した証拠があ ... る。 4.3BSD には、マニュアルページがある。 Linux は、GNU 版を使っている。 この関数は POSIX.1-2001 にはない。 注意 alloca () 関数は、機種とコンパイラに依存する。 特定のアプリケーションでは、この関数を使うと malloc (3) と free (3) を組み合わせて ... ... n バイトだけが複製され、 終端のヌルバイト ('\0')) が追加される。 strdupa () と strndupa () も同様だが、バッファーの確保に alloca (3) を使用する点が異なる。 これらが使用できるのは GNU GCC ツール群を使う場合だけであり、 alloca (3) で説明されているのと同 ... SD, POSIX.1-2001 準拠である。 strndup () は POSIX.1-2008 準拠である。 strdupa (), strndupa () は GNU 拡張である。 関連項目 alloca (3), calloc (3), free (3), malloc (3), realloc (3), string (3), wcsdup (3) この文書について この man ページは Linux man-pa ... ... n バイトだけが複製され、 終端のヌルバイト ('\0')) が追加される。 strdupa () と strndupa () も同様だが、バッファーの確保に alloca (3) を使用する点が異なる。 これらが使用できるのは GNU GCC ツール群を使う場合だけであり、 alloca (3) で説明されているのと同 ... SD, POSIX.1-2001 準拠である。 strndup () は POSIX.1-2008 準拠である。 strdupa (), strndupa () は GNU 拡張である。 関連項目 alloca (3), calloc (3), free (3), malloc (3), realloc (3), string (3), wcsdup (3) この文書について この man ページは Linux man-pa ... ... n バイトだけが複製され、 終端のヌルバイト ('\0')) が追加される。 strdupa () と strndupa () も同様だが、バッファーの確保に alloca (3) を使用する点が異なる。 これらが使用できるのは GNU GCC ツール群を使う場合だけであり、 alloca (3) で説明されているのと同 ... SD, POSIX.1-2001 準拠である。 strndup () は POSIX.1-2008 準拠である。 strdupa (), strndupa () は GNU 拡張である。 関連項目 alloca (3), calloc (3), free (3), malloc (3), realloc (3), string (3), wcsdup (3) この文書について この man ページは Linux man-pa ... ... n バイトだけが複製され、 終端のヌルバイト ('\0')) が追加される。 strdupa () と strndupa () も同様だが、バッファーの確保に alloca (3) を使用する点が異なる。 これらが使用できるのは GNU GCC ツール群を使う場合だけであり、 alloca (3) で説明されているのと同 ... SD, POSIX.1-2001 準拠である。 strndup () は POSIX.1-2008 準拠である。 strdupa (), strndupa () は GNU 拡張である。 関連項目 alloca (3), calloc (3), free (3), malloc (3), realloc (3), string (3), wcsdup (3) この文書について この man ページは Linux man-pa ... ... 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 ); glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): reallocarr ... が実行 されていたりした場合の動作は定義されていない。 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 s ... uld not be detected in the following call to malloc (), with the result that an incorrectly sized block of memory would be allocated: malloc(nmemb * size); realloc () は、ポインター ptr が示すメモリーブロックのサイズを size バイト に変更する。領域の先頭 ... ... 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 ); glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): reallocarr ... が実行 されていたりした場合の動作は定義されていない。 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 s ... uld not be detected in the following call to malloc (), with the result that an incorrectly sized block of memory would be allocated: malloc(nmemb * size); realloc () は、ポインター ptr が示すメモリーブロックのサイズを size バイト に変更する。領域の先頭 ... ... 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 ); glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): reallocarr ... が実行 されていたりした場合の動作は定義されていない。 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 s ... uld not be detected in the following call to malloc (), with the result that an incorrectly sized block of memory would be allocated: malloc(nmemb * size); realloc () は、ポインター ptr が示すメモリーブロックのサイズを size バイト に変更する。領域の先頭 ... ... 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 ); glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): reallocarr ... が実行 されていたりした場合の動作は定義されていない。 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 s ... uld not be detected in the following call to malloc (), with the result that an incorrectly sized block of memory would be allocated: malloc(nmemb * size); realloc () は、ポインター ptr が示すメモリーブロックのサイズを size バイト に変更する。領域の先頭 ... ... 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 ); glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): reallocarr ... が実行 されていたりした場合の動作は定義されていない。 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 s ... uld not be detected in the following call to malloc (), with the result that an incorrectly sized block of memory would be allocated: malloc(nmemb * size); realloc () は、ポインター ptr が示すメモリーブロックのサイズを size バイト に変更する。領域の先頭 ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。