如今我们需要意识到,任何程序均可调用标准库函数,查找主机名对应的IP地址。
For now we must be aware that any application can call a standard library function to look up the IP address (or addresses) corresponding to a given hostname.
对于任何给定程序库,您都应该通读它所提供的文档,以了解其原型和标准库函数的用法是否有所变化。
You'll need to go through the documentation provided with any given library to know if there is any change in the prototypes and therefore in the usage of the standard library functions.
因为MASS向量函数要比对一个标准库函数的重复访问快很多(倍数接近30倍),所以最后得到的性能改善效果将会是惊人的。
Since the MASS vector functions are much faster (by a factor of up to about 30) than a repeated call to a standard library function, the resulting performance improvement can be substantial.
如果可以选择的话,请使用标准库函数来进行字节交换操作,并按照字节在数据文件中存储的顺序进行标准化;网络字节顺序最适合这种工作。
If you have the option, use standard library functions to do byte-swapping operations, and standardize on the order in which bytes are stored in your data files; network byte order is the best.
其中最奇妙的事情之一是,在几乎每个平台上都为计划要处理的每个库函数和系统调用都提供自己的声明,而不是包括标准的头文件。
One of these magics was, on nearly every platform, to provide its own declarations for every library function and system call it planned to use, rather than including the standard headers.
对标准程序库而言,有很多程序库函数在固定的对象中返回值,总是重复使用同一对象,这就使得那些函数不可重入。
As with the standard library, there can be many library functions that return values in fixed objects, always reusing the same objects, which causes the functions to be non-reentrant.
表4-1列出了C 语言标准库提供的一系列处理C 风格字符串的库函数。
The Standard C library provides a set of functions, listed in Table 4.1, that operate on C-style strings.
表4-1列出了C 语言标准库提供的一系列处理C 风格字符串的库函数。
The Standard C library provides a set of functions, listed in Table 4.1, that operate on C-style strings.
应用推荐