Ker*_* SB 22
那么,如何获得列表:
sar*_*old 10
你想知道如何为自己找到这些.(我喜欢Kerrek SB的名单,但我不能责怪你想知道如何自己看这些东西.)
首先要做的事情:如果您使用的是Debian或Ubuntu,我强烈建议您在常用软件包之外安装manpages-posix和manpages-posix-dev软件包manpages.除了Linux man-pages项目之外,这些还允许您访问标准.
差异立即可见:
man 2 close # gives you the Linux documentation of the system call
man 3posix close # gives you the POSIX definition of the function
Run Code Online (Sandbox Code Playgroud)
您还可以看到不太可能是系统调用的函数的区别:
man 3 qsort # Linux man-pages project describing the glibc function
man 3posix qsort # POSIX standard definition of the function, should be useful
description for any POSIX-compliant system
Run Code Online (Sandbox Code Playgroud)
我还建议在安装dict,dictd以及dict-jargon或者dict-foldoc(或两者)包:
$ dict stdin
2 definitions found
From The Free On-line Dictionary of Computing (26 July 2010) [foldoc]:
standard input/output
standard I/O
stderr
stdin
stdio
stdout
<programming, operating system> The predefined input/output
channels which every {Unix} process is initialised with.
Standard input is by default from the terminal, and standard
output and standard error are to the terminal. Each of these
channels (controlled via a {file descriptor} 0, 1, or 2 -
stdin, stdout, stderr) can be redirected to a file, another
device or a {pipe} connecting its process to another process.
The process is normally unaware of such {I/O redirection},
thus simplifying prototyping of combinations of commands.
The {C} programming language library includes routines to
perform basic operations on standard I/O. Examples are
"printf", allowing text to be sent to standard output, and
"scanf", allowing the program to read from standard input.
(1996-06-07)
From V.E.R.A. -- Virtual Entity of Relevant Acronyms (June 2006) [vera]:
STDIN
STandarD INput
$ dict stdlib
No definitions found for "stdlib"
$
Run Code Online (Sandbox Code Playgroud)
(好笑,对吧?没有你想要的那个.但是,它们仍然是很棒的工具.)
stdio:标准输入/输出
http://www.cplusplus.com/reference/clibrary/cstdio/
"...使用C标准输入和输出库(cstdio,在C语言中称为stdio.h)"
stdlib:标准库
http://www.cplusplus.com/reference/clibrary/cstdlib/
"C标准通用实用程序库此标题定义了几个通用功能......"