- 论坛徽章:
- 0
|
你可以先man man一些。那里边有man的详细说明。一般标准I/O是 man 1 fopen(默认);系统I/O如:open 是 man 2 open....
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非常好用,类似于MSDN。如你想查关于文件打开的函数你可以用
man -k open | grep stream.
open 是因为你要找关于打开的函数; 而stream 是由于你要找关于文件的函数(一般是基于流,所以...)
不知是否正确,欢迎高手指教! |
|