Import http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/include/semaphore.h?rev=1.3.6.1&content-type=text/plain for reference
Rip FILE out of stdio.h in NetBSD for reference