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.
其中最奇妙的事情之一是,在几乎每个平台上都为计划要处理的每个库函数和系统调用都提供自己的声明,而不是包括标准的头文件。
In terms of the way it is called, there is no difference between a system call and a library function.
就调用方式而言,系统调用与库函数之间没有区别。
An example of a library function that does have an associated system call is the fopen function declared in stdio.h.
有相关系统调用的库函数的一个示例是stdio . h中声明的fopen函数。
应用推荐