Translations of this page?:

calloc

文法:

    #include <cstdlib>
    void* calloc( size_t 個数, size_t サイズ );

calloc()関数は、個数個のオブジェクトの配列が収まるメモリ空間のポインタを返します。それぞれのオブジェクトのサイズはサイズ引数の大きさになります。新しく割り当てられたメモリ領域はゼロで初期化されます。エラーが発生すると、calloc()はNULLを返します。

関連トピック: free, malloc, realloc

 
• • • SitemapRecent changesRSScc