Linux新手:Linux vs POSIX手册 [英] Linux newbie: Linux vs POSIX manual

查看:67
本文介绍了Linux新手:Linux vs POSIX手册的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

$ apropos mkfifo
mkfifo (1)           - make FIFOs (named pipes)
mkfifo (1posix)      - make FIFO special files
mkfifo (3)           - make a FIFO special file (a named pipe)
mkfifo (3posix)      - make a FIFO special file
mkfifoat (3)         - make a FIFO (named pipe) relative to a directory file ...

因此,我有Linux程序员手册和POSIX程序员手册的手册页.我应该更喜欢哪个,为什么?(我正在编写Linux应用程序,没有计划将其移植到AIX,BSD等)

So I have man pages for Linux Programmer’s Manual and POSIX Programmer’s Manual. Which should I prefer and why? (I'm writing a Linux application, no plans to port it AIX, BSD etc)

谢谢.

推荐答案

基本上,Linux手册是来自其编写者的命令/API的文档.POSIX 手册来自 POSIX 标准.通常,正常"的代码更短更小,但是要处理特定的实现;POSIX 的更长更详细(请参阅man 3p read),但只说明标准中的内容.

Basically, the linux manuals are documentation of the commands/APIs from their writers; The POSIX manuals are from the POSIX standard. Usually, the "normal" ones are shorter and terser, but deal with the specific implementation; the POSIX ones are longer and more detailed (see man 3p read), but only tell what is in the standard.

最好是同时查看两者.

这篇关于Linux新手:Linux vs POSIX手册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆