Added some NetBSD specific code to druntime (core.sys.posix - part 3).