什么是内核例程?

什么是内核例程?

在另一个答案中,我对手册页的各个部分进行了简短概述:

  1. $-User 的命令
  2. 系统调用,这意味着从内核中调用一个函数
  3. 库调用,这意味着从传统文件中调用函数
  4. 特殊文件
  5. 约定和配置
  6. 游戏
  7. 杂项
  8. #-User 的命令

现在大多提到这8个部分,但也有几次提到第9个部分:

  1. 内核例程

内核例程的真正含义是什么?它在操作系统中的用途是什么?

答案1

我尝试过的基于 Linux 的系统在其手册页中没有第 9 节,但是,在网上查找,可以找到NetBSD 简介(9) 手册页:

This section contains information related to the internal operation of
the system kernel.  It describes function interfaces and variables of use
to the systems and device driver programmer.

这似乎与内核提供的 API 有关。

以下问题的答案可能相关:什么是内核?

相关内容