system call(系统调用):操作系统提供给应用程序的一种接口,使程序能够请求内核执行受保护的操作,例如创建进程、读写文件、分配内存、网络通信等。(在不同语境下也可泛指“向系统发起的调用/请求”。)
/ˈsɪstəm kɔːl/
A program uses a system call to read a file.
程序通过系统调用来读取文件。
When the process runs out of memory, it may trigger a system call to request more pages from the operating system.
当进程内存不足时,它可能会触发系统调用,向操作系统请求更多内存页。
system 来自希腊语 systēma(整体、组织起来的集合),call 表示“调用/呼叫”。在计算机领域中,system call 逐渐固定为术语,指“用户态程序向操作系统内核请求服务的调用”,常见于类 Unix 系统与操作系统教材的讨论中。
open, read, write, fork)。