标签:
无标签
1.atoi函數
This function converts a given string to integer
int atoi(const char *sz);
returns the string's integer value
2.memset函數
set buffers to a specified character
memset{
void *dest,//pointer to destination
int c,// character to set
size_t count // number of character
}
return the value of dest
3. htonl /htons
convert a u-long/u-short from host to TCP/IP network byte order,which is big-endian
u_long htonl{ u_long hostlong}
u_short htonl{ u_short hostlong}
4.fcntl 整理中
系统分类:
自由话题 | 用户分类:
Linux | 来源:
转贴 | 【推荐给朋友】 | 【添加到收藏夹】