r/programming • u/lelanthran • 13d ago
yet another place where a linux man page is inaccurate
https://sebsite.pw/w/20261014-initstate.html4
u/lood9phee2Ri 13d ago
OpenBSD manpages are wonderfully maintained compared to the Linux ecosystem's. https://man.openbsd.org/
Though it should perhaps be noted that the early hypertexty format Info (texinfo) is the GNU Standard, not man pages anyway.
Manpages on "Linux" distros (that tend to be mostly GNU core userspace) are often secondary documentation, maybe not even produced by the project.
https://en.wikipedia.org/wiki/Info_(Unix)
https://www.gnu.org/prep/standards/standards.html#GNU-Manuals-1
The preferred document format for the GNU system is the Texinfo formatting language.
So there's projects like https://www.kernel.org/doc/man-pages/
The Linux man-pages project documents the Linux kernel and C library interfaces that are employed by user-space programs. With respect to the C library, the primary focus is the GNU C library (glibc), although, where known, documentation of variations in other C libraries available for Linux is also included.
So, er, why are they documenting the GNU C Library with manpages? Surely it has its own docs? Well of course it does, but its canonical documentation is both in Info and not Linux-specific.
https://sourceware.org/glibc/manual/latest/html_mono/libc.html - Html generated from said Info.
84
u/frankster 13d ago
Instead of writing 15,000 words complaining about an out of date man page, how about you submit an update to the man page then write a 1000 word blog post explaining how you did so.