找回密码
 骑士注册

QQ登录

微博登录

搜索
❏ 站外平台:

Linux 中国◆开源社区 标签 free+内容

相关手册

  • free - Display amount of free and used memory in the system

    free [-b|-k|-m|-g] [-c count] [-l] [-o] [-t] [-s delay] [-V]
    free  displays  the  total  amount  of  free and used physical and swap
           memory in the system, as well as the buffers used by the  kernel.   The
           shared memory column should be ignored; it is obsolete.
    
       OPTIONS
  • malloc, free, calloc, realloc - Allocate and free dynamic memory

    #include <stdlib.h>
    
           void *malloc(size_t size);
           void free(void *ptr);
           void *calloc(size_t nmemb, size_t size);
    The malloc() function allocates size bytes and returns a pointer to the
           allocated memory.  The memory is not initialized.  If size is  0,  then
           malloc()  returns either NULL, or a unique pointer value that can later
           be successfully passed to free().
    

相关文章

返回顶部

分享到微信

打开微信,点击顶部的“╋”,
使用“扫一扫”将网页分享至微信。