more posix-compliant functions
more posix-compliant functions