为什么类 Unix 环境中的程序名称后有数字? [英] Why do programs in Unix-like environments have numbers after their name?

查看:21
本文介绍了为什么类 Unix 环境中的程序名称后有数字?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如,当我运行 man ioctl 时,页面顶部会显示 IOCTL(2).这意味着什么?有 IOCTL(1) 吗?以及如何在这些之间导航?

For example, when I run man ioctl the page says IOCTL(2) at the top. What does that mean? Is there an IOCTL(1)? And how does one navigate between these?

推荐答案

这是手册页部分.从内存来看,第 1 部分是用户程序,2 是系统调用,3 是标准 C 库调用,5 是文件格式.

It's the man page section. From memory, section 1 is user programs, 2 is system calls, and 3 is standard C library calls, and 5 is file formats.

维基百科有完整的解释这里.

Wikipedia has the full explanation here.

这篇关于为什么类 Unix 环境中的程序名称后有数字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆