为什么 "man 7 socket" 不适用于 Mac OSX?
Why "man 7 socket" not work on Mac OSX?
我试过 "man 2 socket",它给了我一个非常简短的描述,而我想如果你在 Linux 上输入 "man 7 socket" 应该会有更多的描述。
这很奇怪。有什么想法吗?
虽然它们在架构上有很多共同点,但 MacOS 与 Linux 不 完全相同。
Linux下至少有10 different possible sections of man pages,包括第2节(系统调用)和第7节("conventions & miscellany")。
"man 7 socket
" is very specific to Linux distributions, and the description starts off "This manual page describes the Linux networking socket layer user interface.". While MacOS has a subset of some of the man pages that you'd find under Linux, MacOS does come with quite a bit more documentation than just man pages, including this Apple Network Programming Topics page 其中提到套接字和套接字流。
我试过 "man 2 socket",它给了我一个非常简短的描述,而我想如果你在 Linux 上输入 "man 7 socket" 应该会有更多的描述。
这很奇怪。有什么想法吗?
虽然它们在架构上有很多共同点,但 MacOS 与 Linux 不 完全相同。
Linux下至少有10 different possible sections of man pages,包括第2节(系统调用)和第7节("conventions & miscellany")。
"man 7 socket
" is very specific to Linux distributions, and the description starts off "This manual page describes the Linux networking socket layer user interface.". While MacOS has a subset of some of the man pages that you'd find under Linux, MacOS does come with quite a bit more documentation than just man pages, including this Apple Network Programming Topics page 其中提到套接字和套接字流。