Simplified POSIX implementation