摘要:
#include #include #include //access() #include //创建多级目录 int createMultiLevelDir(char* sPathName) { char DirName[256]; int i, len; strcpy(Di... 阅读全文
posted @ 2014-04-19 21:17
cosail
阅读(4568)
评论(0)
推荐(0)
|
摘要:
#include #include #include //access() #include //创建多级目录 int createMultiLevelDir(char* sPathName) { char DirName[256]; int i, len; strcpy(Di... 阅读全文
posted @ 2014-04-19 21:17
cosail
阅读(4568)
评论(0)
推荐(0)
摘要:
【转】getopt(分析命令行参数)相关函数表头文件 #include定义函数 int getopt(int argc,char * const argv[ ],const char * optstring);函数说明getopt()用来分析命令行参数。参数argc和argv是由main()传递... 阅读全文
posted @ 2014-04-19 19:39
cosail
阅读(824)
评论(0)
推荐(0)
摘要:
#include #include //strrchr(), strncpy()#include //realloc()#include //readlink()#define MAXBUFSIZE 1024//通过链接文件名获取被目标文件绝对路径//为了防止buffer不够大,包... 阅读全文
posted @ 2014-04-19 19:03
cosail
阅读(2168)
评论(0)
推荐(0)
|