【GLIB】g_malloc0

gpointer
g_malloc0 (
  gsize n_bytes
)

分配n_bytes字节的内存,并初始化为0。如果n_bytes为0,则返回NULL。

posted @ 2024-07-25 14:36  NotReferenced  阅读(15)  评论(0编辑  收藏  举报