:名称
|malloc, calloc, realloc, free

:読み
|まろっく, きゃろっく, りあろっく, ふりー

:定義
|Function malloc(n As DWord) As VoidPtr
Function calloc(n As DWord) As VoidPtr
Function realloc(m As VoidPtr, n As DWord) As VoidPtr
Sub free(m As VoidPtr)

:説明
|mallocはメモリを確保します。
callocは0でクリアしたメモリを確保します
reallocはメモリを再確保します。
freeは確保したメモリを解放します。


:戻り値
|free以外は確保したメモリのポインタを返します。

:参照
|ZeroString , memset

タグ:

+ タグ編集
  • タグ:
最終更新:2010年01月08日 17:55