Thin wrapper over POSIX syscalls