システムコール記述の「整数引数」とはどういう意味ですか? [コピー]

システムコール記述の「整数引数」とはどういう意味ですか? [コピー]

重複の可能性:
マニュアルページの数字はどういう意味ですか?

マンページに記載されているすべてのシステムコールには関連する番号(例)がありますexec(3)。この数字はどういう意味ですか?

ベストアンサー1

数字は男の部分です。図書館通貨は3番です。 man(1) の完全なリストは次のとおりです。

   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) は man バイナリ用で、 man(7) はマンページ形式を実装するためにマクロを作成する方法を説明します。特定のセクションにアクセスするには、項目の前に数値引数を入れることができます。

man 7 man

おすすめ記事