linux的man很強大,該手冊分成很多section,使用man時可以指定不同的section來瀏覽,各個section意義如下:
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 conventions), e.g. man(7), groff(7)
8 system administration commands (usually only for root)
9 kernel routines [non standard]
解釋一下,
1是普通的命令
2是系統呼叫,如open,write之類的(通過這個,至少可以很方便的查到呼叫這個函式,需要加什麼標頭檔案)
3是庫函式,如printf,fread
4是特殊檔案,也就是/dev下的各種裝置檔案
5是指檔案的格式,比如passwd, 就會說明這個檔案中各個欄位的含義
6是給遊戲留的,由各個遊戲自己定義
7是附件還有一些變數,比如向environ這種全域性變數在這裡就有說明
8是系統管理用的命令,這些命令只能由root使用,如ifconfig
Linux man 命令後面的數字含義及作用
linux的man很強大,該手冊分成很多section,使用man時可以指定不同的section來瀏覽,各個section意義如下 1 commands 2 system calls 3 library calls 4 special files 5 file formats and convert...
Linux man 命令數字含義
1 user commands 2 system calls 3 c library functions 4 devices and special files 5 file formats and conventions 6 games et.al.7 miscellanea 8 system a...
MySQL中型別後面的數字含義
形式 型別 m 1 整數型的數值型別已經限制了取值範圍,有符號整型和無符號整型都有,而m值並不代表可以儲存的數值字元長度,它代表的是資料在顯示時顯示的最小長度,當儲存的字元長度超過m值時,沒有任何的影響,只要不超過數值型別限制的範圍。當儲存的字元長度小於m值時,只有在設定了zerofill用0來填充...