system call
英 /ˈsɪstəm kɔːl/美 /ˈsɪstəm kɔl/
n. 名词
系统调用;系统请求
核心含义
本义指程序运行时向操作系统内核发出的一种请求,要求执行特定特权操作,如读写文件、创建进程等。引申义可指任何向更高层系统或权威机构发出的正式请求,尤其在计算机科学领域,它代表用户态与内核态的接口。不同义项间的关系是:从具体的技术操作扩展到抽象的服务请求概念。
构词与来源
该术语由“system”(系统)和“call”(调用)组成。system源自希腊语systema,意为“组织、整体”;call源自古英语ceallian,意为“大声喊叫、召唤”。组合后指对系统发出的召唤或请求。记忆时可将“system”理解为操作系统,“call”理解为请求,合起来就是“向系统请求服务”。
适用语境
主要出现在计算机科学学术论文、操作系统教科书、编程文档和技术博客中,语气正式且专业。在日常对话或非技术语境中极少使用,若使用则多用于比喻,如“向系统发出调用”,可能带有戏谑或夸张色彩。在技术面试或会议中,它常被用作考察对底层原理理解的术语。
用法要点
作为名词,常作可数名词,复数形式为system calls。常见句型:"The program makes a system call to read the file." 或 "System calls provide an interface between user space and kernel space." 易错点:不要与“system call”混淆为动词短语,其正确用法是“make a system call”而非“system call something”。
同义词区别
与“API call”相比,system call特指对操作系统内核的调用,而API call泛指对任何软件库或服务的调用。与“interrupt”不同,system call是主动请求,而interrupt是硬件或软件异步事件。与“function call”相比,system call涉及特权模式切换,开销更大,而function call是普通程序内调用。
使用注意
该术语属于技术术语,语域较高,仅在计算机相关语境中使用。无褒贬色彩。常见误用包括将“system call”与“system call”的拼写混淆(如将call误写为cal),或将“system call”与“system request”混用,后者更泛化。在非技术写作中应避免使用,以免造成理解障碍。
词语搭配
| make a system call | 发起系统调用 |
| system call interface | 系统调用接口 |
| system call overhead | 系统调用开销 |
| system call handler | 系统调用处理程序 |
| system call number | 系统调用号 |
| system call table | 系统调用表 |
| system call tracing | 系统调用跟踪 |
| system call wrapper | 系统调用包装函数 |
例句
- The read() function is a system call that allows a program to read data from a file descriptor.read() 函数是一种系统调用,允许程序从文件描述符读取数据。
- When a user presses a key, the operating system handles the interrupt and may invoke a system call to process the input.当用户按键时,操作系统处理中断,并可能调用系统调用来处理输入。
- Writing a device driver requires understanding how system calls are implemented in the kernel.编写设备驱动程序需要理解系统调用在内核中是如何实现的。
- The system call overhead can be significant if used frequently in a tight loop.如果在紧密循环中频繁使用系统调用,其开销可能会很大。
- In the lecture, the professor explained the difference between a system call and a library function.在讲座中,教授解释了系统调用和库函数之间的区别。