摘要: 头文件:unistd.h 功 能: 确定文件或文件夹的访问权限。即,检查某个文件的存取方式,比如说是只读方式、只写方式等。如果指定的存取方式有效,则函数返回0,否则函数返回-1。 用 法: int access(const char *filenpath, int mode); 或者int _acc 阅读全文
posted @ 2019-06-26 09:34 宇宙之外 阅读(630) 评论(0) 推荐(0) 编辑
摘要: _splitpath函数使用 _splitpath需要的头文件是:<stdlib.h>函数原型如下: void _splitpath( const char *path, char *drive, char *dir, char *fname, char *ext); 其中包含5个参数,第一个是待处 阅读全文
posted @ 2019-06-26 09:23 宇宙之外 阅读(630) 评论(0) 推荐(0) 编辑