JM Project

JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 10 of about 22 for calloc (0.002 sec.)
Man page of MALLOC 11481
MALLOC Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 malloc, free, calloc, realloc, reallocarray - 動的なメモリーの割り当てと解放を行う 書式 #include < stdlib.h > void *malloc(size_t size ); void free(vo ... 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_ ... ンター値を返す。 free () 関数はポインター ptr が指すメモリー空間を解放する。このポインターは、 以前に呼び出された malloc (), calloc (), realloc () のいずれかが返した値で なければならない。これ以外のポインターを指定したり、すでに free(ptr) が実行 されてい ... たりした場合の動作は定義されていない。 ptr が NULL の場合には、何の動作も行われない。 The calloc () function allocates memory for an array of nmemb elements of size bytes each and returns a pointer to the allocated memo ...
https://man.mtool.work/man/20260915/man3/calloc.3.html
Man page of MALLOC 11481
MALLOC Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 malloc, free, calloc, realloc, reallocarray - 動的なメモリーの割り当てと解放を行う 書式 #include < stdlib.h > void *malloc(size_t size ); void free(vo ... 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_ ... ンター値を返す。 free () 関数はポインター ptr が指すメモリー空間を解放する。このポインターは、 以前に呼び出された malloc (), calloc (), realloc () のいずれかが返した値で なければならない。これ以外のポインターを指定したり、すでに free(ptr) が実行 されてい ... たりした場合の動作は定義されていない。 ptr が NULL の場合には、何の動作も行われない。 The calloc () function allocates memory for an array of nmemb elements of size bytes each and returns a pointer to the allocated memo ...
https://man.mtool.work/man/20260915/man3/free.3.html
Man page of MALLOC 11481
MALLOC Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 malloc, free, calloc, realloc, reallocarray - 動的なメモリーの割り当てと解放を行う 書式 #include < stdlib.h > void *malloc(size_t size ); void free(vo ... 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_ ... ンター値を返す。 free () 関数はポインター ptr が指すメモリー空間を解放する。このポインターは、 以前に呼び出された malloc (), calloc (), realloc () のいずれかが返した値で なければならない。これ以外のポインターを指定したり、すでに free(ptr) が実行 されてい ... たりした場合の動作は定義されていない。 ptr が NULL の場合には、何の動作も行われない。 The calloc () function allocates memory for an array of nmemb elements of size bytes each and returns a pointer to the allocated memo ...
https://man.mtool.work/man/20260915/man3/malloc.3.html
Man page of MALLOC 11481
MALLOC Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 malloc, free, calloc, realloc, reallocarray - 動的なメモリーの割り当てと解放を行う 書式 #include < stdlib.h > void *malloc(size_t size ); void free(vo ... 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_ ... ンター値を返す。 free () 関数はポインター ptr が指すメモリー空間を解放する。このポインターは、 以前に呼び出された malloc (), calloc (), realloc () のいずれかが返した値で なければならない。これ以外のポインターを指定したり、すでに free(ptr) が実行 されてい ... たりした場合の動作は定義されていない。 ptr が NULL の場合には、何の動作も行われない。 The calloc () function allocates memory for an array of nmemb elements of size bytes each and returns a pointer to the allocated memo ...
https://man.mtool.work/man/20260915/man3/realloc.3.html
Man page of MALLOC 11481
MALLOC Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 malloc, free, calloc, realloc, reallocarray - 動的なメモリーの割り当てと解放を行う 書式 #include < stdlib.h > void *malloc(size_t size ); void free(vo ... 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_ ... ンター値を返す。 free () 関数はポインター ptr が指すメモリー空間を解放する。このポインターは、 以前に呼び出された malloc (), calloc (), realloc () のいずれかが返した値で なければならない。これ以外のポインターを指定したり、すでに free(ptr) が実行 されてい ... たりした場合の動作は定義されていない。 ptr が NULL の場合には、何の動作も行われない。 The calloc () function allocates memory for an array of nmemb elements of size bytes each and returns a pointer to the allocated memo ...
https://man.mtool.work/man/20260915/man3/reallocarray.3.html
Man page of MEMUSAGE 8282
MEMUSAGE Section: Linux user manual (1) Updated: 2020-11-01 Index JM Home Page 名前 memusage - プログラムのメモリー使用量のプロファイルを行う 書式 memusage [ option ]... program [ programoption ]... 説明 memusage は、 プログラム program のメ ... 環境変数を使って) libmemusage.so ライブラリをプレロードする。 ld.so (8) を参照。 libmemusage.so ライブラリは、 malloc (3), calloc (3), free (3), realloc (3) の呼び出しを横取りし、 メモリー割り当て状況の追跡を行う。 追加で、 mmap (2), mremap (2), munmap ... ry" (メモリー使用量概要) の行には以下のフィールドが含まれる。 heap total malloc (3) のすべての呼び出しの size 引数の合計、 calloc (3) のすべての呼び出しの引数の積 ( nmemb * size )、 mmap (2) のすべての呼び出しの length 引数の合計。 realloc (3) と mrema ... イズよりも大きい場合、 差分 (新しいサイズから古いサイズを引いた値) の合計が加算される。 heap peak malloc (3) の size 引数、 calloc (3) の nmemb * size の積、 realloc (3) の size 引数、 mmap (2) の length 引数、 mremap (2) の new_size 引数、 の中の最大値 ...
https://man.mtool.work/man/20260915/man1/memusage.1.html
Man page of AIO 7962
AIO Section: Linux Programmer's Manual (7) Updated: 2020-08-13 Index JM Home Page 名前 aio - POSIX 非同期 I/O の概要 説明 POSIX 非同期 (AIO) インターフェースを使うと、アプリケーションは、非同期 に (つまり、バックグラウンドで) 実行されるI/O ... <pathname>...\n", argv[0]); exit(EXIT_FAILURE); } numReqs = argc - 1; /* Allocate our arrays */ struct ioRequest *ioList = calloc(numReqs, sizeof(*ioList)); if (ioList == NULL) errExit("calloc"); struct aiocb *aiocbList = calloc(numReqs, sizeof(*aiocbL ... ist)); if (aiocbList == NULL) errExit("calloc"); /* Establish handlers for SIGQUIT and the I/O completion signal */ sa.sa_flags = SA_RESTART; sigemptyset(&sa.sa_mask); ...
https://man.mtool.work/man/20260915/man7/aio.7.html
Man page of CFREE 7895
CFREE Section: Linux Programmer's Manual (3) Updated: 2017-09-15 Index JM Home Page 名前 cfree - 割り当てられたメモリーを解放する 書式 #include < stdlib.h > /* SunOS 4 では */ int cfree(void * ptr ); /* glibc と FreeBSD libcompat では */ vo ... ree SCO と Solaris のいくつかのバージョンでは、 引数が 3 つの cfree () が含まれる malloc ライブラリがある。 これは明らかに calloc (3) に類似している。 何かを移植する時にこの関数が必要な場合、 #define cfree(p, n, s) free((p)) をファイルに追加すること。 ... よく尋ねられる質問は 「 calloc (3) で割り当てられたメモリーを解放するのに free (3) を使うことができるか、 それとも cfree () を使う必要があるか」というもの ...
https://man.mtool.work/man/20260915/man3/cfree.3.html
Man page of MBSTOWCS 7760
MBSTOWCS Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 mbstowcs - マルチバイト文字列をワイド文字列に変換する 書式 #include < stdlib.h > size_t mbstowcs(wchar_t * dest , const char * src , size_t n ); 説明 ... * Allocate wide character string of the desired size. Add 1 to allow for terminating null wide character (L'\0'). */ wcs = calloc(mbslen + 1, sizeof(*wcs)); if (wcs == NULL) { perror("calloc"); exit(EXIT_FAILURE); } /* Convert the multibyte character s ...
https://man.mtool.work/man/20260915/man3/mbstowcs.3.html
Man page of MALLOC_INFO 7575
MALLOC_INFO Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 malloc_info - malloc の状態をストリームに出力する 書式 #include < malloc.h > int malloc_info(int options , FILE * stream ); 説明 malloc_info () 関 ... gv[1]); numBlocks = atoi(argv[2]); blockSize = atoi(argv[3]); sleepTime = (argc > 4) ? atoi(argv[4]) : 0; pthread_t *thr = calloc(numThreads, sizeof(*thr)); if (thr == NULL) errExit("calloc"); printf("============ Before allocating blocks ============\ ...
https://man.mtool.work/man/20260915/man3/malloc_info.3.html
PREV 1 2 3 NEXT

リンク

日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。