文件名称:\Linux c函数参考
文件大小:1.3MB
文件格式:PDF
更新时间:2013-04-12 02:18:45
\Linux c 函数参考
目录 字符测试篇............................................................................................................................... 8 isalnum(测试字符是否为英文或数字) ...................................................................... 8 isalpha (测试字符是否为英文字母) ......................................................................... 8 isascii(测试字符是否为ASCII码字符) ............................................................................. 9 iscntrl(测试字符是否为ASCII码的控制字符) .............................................................. 10 isdigit(测试字符是否为阿拉伯数字) ....................................................................... 10 isgraphis(测试字符是否为可打印字符) ................................................................... 10 islower(测试字符是否为小写字母) ......................................................................... 11 isprint(测试字符是否为可打印字符) ....................................................................... 11 isspace(测试字符是否为空格字符) ......................................................................... 12 ispunct(测试字符是否为标点符号或特殊符号) ..................................................... 13 isupper(测试字符是否为大写英文字母) ................................................................. 13 isxdigit(测试字符是否为16进制数字) .................................................................... 14 字符串转换篇 ......................................................................................................................... 14 atof(将字符串转换成浮点型数) .............................................................................. 14 atol(将字符串转换成长 整型数) ............................................................................. 15 gcvt(将浮点型数转换为字符串,取四舍五入) ...................................................... 16 strtod(将字符串转换成浮点数) ............................................................................... 17 strtol(将字符串转换成长整型数) ............................................................................ 17 strtoul(将字符串转换成无符号长整型数) .............................................................. 18 toascii(将整型数转换成合法的ASCII码字符) ........................................................ 18 tolower(将大写字母转换成小写字母) .......................................................................... 19 toupper(将小写字母转换成大写字母) .................................................................... 19 内存控制篇........................................................................................ 以下省略