现在的位置: 首页 > 综合 > 正文

linux开发笔记

2013年11月19日 ⁄ 综合 ⁄ 共 205字 ⁄ 字号 评论关闭

一:常用函数详解

1

FILE *popen(const char *command, const char *type);
int pclose(FILE *stream);

根据command命令行fork一个进程。type为r/w

2

unsigned long int
strtoul(const char *nptr, char **endptr, int base);

把nptr转换成long型,转换到不能转换的位置,endptr记录这个位置

3


抱歉!评论已关闭.