文件IO函数
摘要:
creat函数创建一个新文件:#include int creat( const char *pathname, mode_t mode );返回值:若成功则返回为只写打开的文件描述符,若出错则返回-1;open 函数用于打开和创建文件:#include int open(const char *p... 阅读全文
posted @ 2014-10-12 22:33 guojiu 阅读(152) 评论(0) 推荐(0) 编辑