Well, I don't know if this needs a comment. Coding is my preferred way to provide best response.
However, when correctness of design/api/standard comes to the disucssion, have a look at linux kernel code, experiment some supposed standard POSIX functions under linux and after some time switch OpenBSD, you get then answer.
--