C语言中open函数如何使用使用
C语言中open函数如何使用使用
日期:2022-04-11 05:31:18 人气:1
C语言中open函数
作用:打开和创建文件。
简述:
1
2
3
4
#include<fcntl.h>
intopen(constchar*pathname,intflags);
intopen(constchar*pathname,intflags,mode_tmode);
返回值:成功则
作用:打开和创建文件。
简述:
1
2
3
4
#include<fcntl.h>
intopen(constchar*pathname,intflags);
intopen(constchar*pathname,intflags,mode_tmode);
返回值:成功则
