摘要:
fopen()、fdopen()、close()2010年01月03日 星期日 12:58Linux环境下可以使用下列函数打开一个流,其函数原型如下: #include <stdio.h> FILE * fopen(const char * restrict pathname, const char * restrict type); FILE * fdopen(int filedes, const char *type); fopen函数的第1个参数表示需要打开文件的路径,第2个参数type表示打开的方式,该值以一个字符串的形式传入, type 字串中包含字母a的表示" 阅读全文
posted @ 2012-02-15 14:29 网名还没想好 阅读(4695) 评论(0) 推荐(1) 编辑