歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Linux man 命令後面的圓括號的意義

Linux man 命令後面的圓括號的意義

日期:2017/2/28 16:23:48   编辑:Linux教程

我們經常會看到 在說一個對象的man page 的時候,會有這樣的格式:

mmap(2)

shm_open(3)

這個後面的數字是什麼意思呢,通過 man man 命令就可以知道,這個是數字是,section

大多數類unix 操作系統,都采用相同的section 的約定:

Section 1

user commands (introduction)
Section 2
system calls (introduction)
Section 3
library functions (introduction)
Section 4
special files (introduction)
Section 5
file formats (introduction)
Section 6
games (introduction)
Section 7
conventions and miscellany (introduction)
Section 8
administration and privileged commands (introduction)
Section L
math library functions
Section N
tcl functions
通過後面的數字,你就能明白一個函數是系統調用,還是只是一個類庫中的一個函數。這個數字還是相當有意義的。

Copyright © Linux教程網 All Rights Reserved