Linux 函数
文章平均质量分 71
janoy
这个作者很懒,什么都没留下…
展开
-
Linux 函数--access函数
Linux系统调用--access函数详解2007-07-30 23:10 【access系统调用】 功能描述: 检查调用进程是否可以对指定的文件执行某种操作。 用法: #include #include int access(const char *pathname, int mode); 参数: pathname: 需要测试的文件路径名。 mode: 需要测试的操作模转载 2009-08-11 15:51:00 · 808 阅读 · 0 评论 -
Linux 函数--fseek
fseek(移动文件流的读写位置) 相关函数 rewind,ftell,fgetpos,fsetpos,lseek 表头文件 #include 定义函数 int fseek(FILE * stream,long offset,int whence); 函数说明 fseek()用来移动文件流的读写位置。参数stream为已打开的文件指针,参数offset为根据参数whence来移动读写位置原创 2009-08-11 15:50:00 · 1297 阅读 · 0 评论 -
Linux 函数--fstat/stat/lstat系统调用
【fstat/stat/lstat系统调用】 功能描述: 获取一些文件相关的信息。 用法: #include #include #include int stat(const char *path, struct stat *buf); int fstat(int filedes, struct stat *buf); int lstat(const char *转载 2009-08-12 16:23:00 · 651 阅读 · 0 评论 -
Linux 函数--fstat/stat/lstat系统调用
【fstat/stat/lstat系统调用】 功能描述: 获取一些文件相关的信息。 用法: #include #include #include int stat(const char *path, struct stat *buf); int fstat(int filedes, struct stat *buf); int lstat(const char *转载 2009-08-12 16:34:00 · 395 阅读 · 0 评论