共享内存

1: ftruncate

    int ftruncate(int fd; off_t length);

    将fd指定的文件大小修改为 length的大小。

posted @ 2014-11-19 09:36  安心种田  阅读(106)  评论(0)    收藏  举报