20分:LINUX下函数的不同属性

bugebear3 2005-10-09 10:14:02
LINUX下的函数经常描述为:
finger(1),write(3)等形式,好象3表示ANSI C库函数,2表示系统调用函数,另外几个(1、4、5)表示什么意思呢?
...全文
65 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
yyy790601 2005-10-09
  • 打赏
  • 举报
回复
哦,我也了解了。
悠云guo 2005-10-09
  • 打赏
  • 举报
回复
学习,了解了
x86 2005-10-09
  • 打赏
  • 举报
回复
man man可以得到有关信息:


1 Executable programs or shell commands
2 System calls (functions provided by the kernel)
3 Library calls (functions within program libraries)
4 Special files (usually found in /dev)
5 File formats and conventions eg /etc/passwd
6 Games
7 Miscellaneous (including macro packages and conven-
tions), e.g. man(7), groff(7)
8 System administration commands (usually only for root)
9 Kernel routines [Non standard]

如果不同部分有同样的项目,可以加上一个数字区分,比如
man 1 write
man 2 write
分别解释write命令和write系统调用

23,120

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧