/* $Source$ * $State$ * $Revision$ */ #include #include #include #include #include ssize_t read(int fd, void* buffer, size_t count) { short save; unsigned char before_n; if (fd != 0) { errno = EBADF; return -1; } return fread(buffer, 1, count, stdin); }