posix vs win api