このページを編集する際は,編集に関する方針に従ってください.
概要
- Jabberd14-1.6.0/jabberd/lib/xhash.cにて定義
* allocate memory and initialize the memory with zero bytes * easy safety utility (for creating blank mem for structs, etc)
引数
* @param p which pool to use * @param size the size of the allocation * @return pointer to the allocated memory
実装
void *pmalloco(pool p, int size) { void *block = pmalloc(p, size); memset(block, 0, size); return block; }
呼出元
[[Jabberd14-1.6.0/jabberd/lib/xhash.c/xhash_new ]]
#related: relatedプラグインは廃止されました。