摘要: 1.非指针的操作 char buff[100]; bzero(buff,100);将buff中最开始的n个字节清空; struct stat fileinfo; bzero(&fileinfo, sizeof(fileinfo)); ----------------- struct stat fil 阅读全文
posted @ 2016-02-14 20:43 高傲的monkey 阅读(367) 评论(0) 推荐(0)
摘要: #include<stdlib.h>#include<stdio.h>#include<string.h>#include<error.h>#include<errno.h>#include<unistd.h>#include<strings.h>#include<stdbool.h> #inclu 阅读全文
posted @ 2016-02-14 20:12 高傲的monkey 阅读(359) 评论(0) 推荐(0)
摘要: #include<stdlib.h>#include<stdio.h>#include<string.h>#include<error.h>#include<errno.h>#include<unistd.h>#include<strings.h>#include<stdbool.h> #inclu 阅读全文
posted @ 2016-02-14 19:24 高傲的monkey 阅读(573) 评论(0) 推荐(0)