/* Reentrant versions of read system call. */ #include #include #include _ssize_t read (int fd, void *buf, size_t cnt) { errno = EOPNOTSUPP; return -1; } _ssize_t _DEFUN (_read_r, (ptr, fd, buf, cnt), struct _reent *ptr _AND int fd _AND _PTR buf _AND size_t cnt) { return read (fd, buf, cnt); }