On Mon, Apr 18, 2011 at 4:15 PM, Ingo Schwarze <[email protected]> wrote: > I like the general idea, so i'd suggest the following. > Note that the exact wording has been chosen to be as close > to the output of the .Rv macro as possible.
Just to voice my bike shed color preferences, I'd propose one of two alternative solutions: 1. Simply switch the documentation to match POSIX, and don't mention that OpenBSD only returns 0. 2. If we want to document that we always return 0 on success, then we should continue to simply say so in the RETURN VALUES section, but add a note to the STANDARDS section that this behavior is a BSD(?) extension, and applications intending to be portable with POSIX should not assume anything more than non-negative.
