yyyyyyyyyyyyyyyyyyyy

博客园 首页 新随笔 联系 订阅 管理
上一页 1 ··· 357 358 359 360 361 362 363 364 365 ··· 367 下一页

2014年11月10日 #

摘要: bcmp(比较内存内容)相关函数bcmp,strcasecmp,strcmp,strcoll,strncmp,strncasecmp表头文件#include定义函数int bcmp ( const void *s1,const void * s2,int n);函数说明bcmp()用来比较s1和s2... 阅读全文
posted @ 2014-11-10 01:25 xxxxxxxx1x2xxxxxxx 阅读(289) 评论(0) 推荐(0)

摘要: abs(计算整型数的绝对值)相关函数labs, fabs表头文件#include定义函数int abs (int j)函数说明abs()用来计算参数j的绝对值,然后将结果返回。返回值返回参数j的绝对值结果。范例#ingclude main(){int ansert;answer = abs(-12)... 阅读全文
posted @ 2014-11-10 01:20 xxxxxxxx1x2xxxxxxx 阅读(661) 评论(0) 推荐(0)

摘要: asctime(将时间和日期以字符串格式表示)相关函数time,ctime,gmtime,localtime表头文件#include定义函数char * asctime(const struct tm * timeptr);函数说明asctime()将参数timeptr所指的tm结构中的信息转换成真... 阅读全文
posted @ 2014-11-10 01:18 xxxxxxxx1x2xxxxxxx 阅读(655) 评论(0) 推荐(0)

摘要: atof(将字符串转换成浮点型数)相关函数atoi,atol,strtod,strtol,strtoul表头文件#include 定义函数double atof(const char *nptr);函数说明atof()会扫描参数nptr字符串,跳过前面的空格字符,直到遇上数字或正负符号才开始做转换,... 阅读全文
posted @ 2014-11-10 01:17 xxxxxxxx1x2xxxxxxx 阅读(264) 评论(0) 推荐(0)

摘要: getopt(分析命令行参数)相关函数表头文件#include定义函数int getopt(int argc,char * const argv[ ],const char * optstring);函数说明getopt()用来分析命令行参数。参数argc和argv是由main()传递的参数个数和内... 阅读全文
posted @ 2014-11-10 01:15 xxxxxxxx1x2xxxxxxx 阅读(197) 评论(0) 推荐(0)

摘要: getenv(取得环境变量内容)相关函数putenv,setenv,unsetenv表头文件#include定义函数char * getenv(const char *name);函数说明getenv()用来取得参数name环境变量的内容。参数name为环境变量的名称,如果该变量存在则会返回指向该内... 阅读全文
posted @ 2014-11-10 01:11 xxxxxxxx1x2xxxxxxx 阅读(236) 评论(0) 推荐(0)

摘要: accept(接受socket连线)相关函数socket,bind,listen,connect表头文件#include#include定义函数int accept(int s,struct sockaddr * addr,int * addrlen);函数说明accept()用来接受参数s的soc... 阅读全文
posted @ 2014-11-10 01:10 xxxxxxxx1x2xxxxxxx 阅读(224) 评论(0) 推荐(0)

摘要: alarm(设置信号传送闹钟)相关函数signal,sleep表头文件#include定义函数unsigned int alarm(unsigned int seconds);函数说明alarm()用来设置信号SIGALRM在经过参数seconds指定的秒数后传送给目前的进程。如果参数second... 阅读全文
posted @ 2014-11-10 01:09 xxxxxxxx1x2xxxxxxx 阅读(352) 评论(0) 推荐(0)

摘要: isalnum(测试字符是否为英文或数字)相关函数isalpha,isdigit,islower,isupper表头文件#include定义函数int isalnum (int c)函数说明检查参数c是否为英文字母或阿拉伯数字,在标准c中相当于使用“isalpha(c) || isdigit(c)”... 阅读全文
posted @ 2014-11-10 01:07 xxxxxxxx1x2xxxxxxx 阅读(321) 评论(0) 推荐(0)

摘要: calloc(配置内存空间)相关函数malloc,free,realloc,brk表头文件#include 定义函数void *calloc(size_t nmemb,size_t size);函数说明calloc()用来配置nmemb个相邻的内存单位,每一单位的大小为size,并返回指向第一个元素... 阅读全文
posted @ 2014-11-10 01:05 xxxxxxxx1x2xxxxxxx 阅读(405) 评论(0) 推荐(0)

上一页 1 ··· 357 358 359 360 361 362 363 364 365 ··· 367 下一页