On 5 May 2013, at 19:31, Andrey Chernov <a...@freebsd.org> wrote:

> It is better to fix this function return type to match POSIX standard
> rather than to document its non-standard behavior. We try to follow
> POSIX when possible and this is the case.

We follow Darwin in this case, which returns 0 on success or -1 on error.  
'Fixing' this will break code written for Darwin and testing the return value.  
Not fixing it will not break POSIX code that ignores the (unexpected) return 
value.

David

_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to