Added write() and gettime() syscalls
Added perror() and EAGAIN to the errno constants