JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... が実行 されていたりした場合の動作は定義されていない。 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 ... dj 、および Linux カーネルのソースファイルの Documentation/vm/overcommit-accounting.rst を参照のこと。 Normally, malloc () allocates memory from the heap, and adjusts the size of the heap as required, using sbrk (2). When allocating blocks of memory large ... r than MMAP_THRESHOLD bytes, the glibc malloc () implementation allocates the memory as a private anonymous mapping using mmap (2). MMAP_THRESHOLD is 128 kB by default, but is adjustable using mal ... ... が実行 されていたりした場合の動作は定義されていない。 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 ... dj 、および Linux カーネルのソースファイルの Documentation/vm/overcommit-accounting.rst を参照のこと。 Normally, malloc () allocates memory from the heap, and adjusts the size of the heap as required, using sbrk (2). When allocating blocks of memory large ... r than MMAP_THRESHOLD bytes, the glibc malloc () implementation allocates the memory as a private anonymous mapping using mmap (2). MMAP_THRESHOLD is 128 kB by default, but is adjustable using mal ... ... が実行 されていたりした場合の動作は定義されていない。 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 ... dj 、および Linux カーネルのソースファイルの Documentation/vm/overcommit-accounting.rst を参照のこと。 Normally, malloc () allocates memory from the heap, and adjusts the size of the heap as required, using sbrk (2). When allocating blocks of memory large ... r than MMAP_THRESHOLD bytes, the glibc malloc () implementation allocates the memory as a private anonymous mapping using mmap (2). MMAP_THRESHOLD is 128 kB by default, but is adjustable using mal ... ... が実行 されていたりした場合の動作は定義されていない。 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 ... dj 、および Linux カーネルのソースファイルの Documentation/vm/overcommit-accounting.rst を参照のこと。 Normally, malloc () allocates memory from the heap, and adjusts the size of the heap as required, using sbrk (2). When allocating blocks of memory large ... r than MMAP_THRESHOLD bytes, the glibc malloc () implementation allocates the memory as a private anonymous mapping using mmap (2). MMAP_THRESHOLD is 128 kB by default, but is adjustable using mal ... ... が実行 されていたりした場合の動作は定義されていない。 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 ... dj 、および Linux カーネルのソースファイルの Documentation/vm/overcommit-accounting.rst を参照のこと。 Normally, malloc () allocates memory from the heap, and adjusts the size of the heap as required, using sbrk (2). When allocating blocks of memory large ... r than MMAP_THRESHOLD bytes, the glibc malloc () implementation allocates the memory as a private anonymous mapping using mmap (2). MMAP_THRESHOLD is 128 kB by default, but is adjustable using mal ... ... ad_func(void *arg) { int tn = (int) arg; /* The multiplier '(2 + tn)' ensures that each thread (including the main thread) allocates a different amount of memory */ for (int j = 0; j < numBlocks; j++) if (malloc(blockSize * (2 + tn)) == NULL) errExit("mal ... e additional arenas won't be allocated (see malloc (3)). */ if (sleepTime > 0) sleep(sleepTime); } /* The main thread also allocates some memory */ for (int j = 0; j < numBlocks; j++) if (malloc(blockSize) == NULL) errExit("malloc"); sleep (2); /* Give al ... ... 場合、 glibc は dirfd 引数に対応する /proc/self/fd のシンボリックリンクに基づいてパス名を構成する。 例 The following program allocates the buffer needed by readlink () dynamically from the information provided by lstat (2), falling back to a buffer of size ... ... 場合、 glibc は dirfd 引数に対応する /proc/self/fd のシンボリックリンクに基づいてパス名を構成する。 例 The following program allocates the buffer needed by readlink () dynamically from the information provided by lstat (2), falling back to a buffer of size ... ... ッダーファイル < malloc.h > も valloc () の宣言も公開する。機能検査マクロは不要である。 説明 The function posix_memalign () allocates size bytes and places the address of the allocated memory in *memptr . The address of the allocated memory will be a multi ... ... ッダーファイル < malloc.h > も valloc () の宣言も公開する。機能検査マクロは不要である。 説明 The function posix_memalign () allocates size bytes and places the address of the allocated memory in *memptr . The address of the allocated memory will be a multi ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。