View Single Post
Old 26th May 2009
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

Quote:
Originally Posted by TerryP View Post


If you don't believe me, just look at C99 and tell me where I can find a standard library function emulating FreeBSD system call number 136 on any platform, even ones that don't guarantee a hard drive!
BSDisms are no better than Linuxisms. Who cares for FreeBSD system call
number 136. You should avoid using system calls by all means if possible. If you must make system calls in particularly FreeBSD specific isolate them in
an api so that the one who is trying to compile the software on other OS can rewrite that small part.

And by the way DragonFly is a living proof that C99 standard can be implemented. There is not a single line of a code in DragonFly which is not C99. OpenBSD as well is almost clean of non C99 code.
Reply With Quote