Convert src/os_unix.c to ANSI functions.