user/lib/libc/src/file/fd/read.c
/**
 * Performs vectored IO to read from the file descriptor
 */
Performs vectored IO to read from the file descriptor
Performs vectored IO to read from the file descriptor
ssize_t readv(int filedes, const struct iovec *iov, int iovcnt) {
    stream_t *fp = ConvertFdToStream(filedes);
    if(!fp) {
        errno = EBADF;
        return -1;
    }
    fprintf(stderr, "%s unimplemented\n", __PRETTY_FUNCTION__);
    return -1;
}
ssize_t readv ( int filedes , const struct iovec * iov , int iovcnt ) { stream_t * fp = ConvertFdToStream ( filedes ) ; if ( ! fp ) { errno = EBADF ; return -1 ; } fprintf ( stderr , " \n " , __PRETTY_FUNCTION__ ) ; return -1 ; }
Performs vectored IO to read from the file descriptor
Performs vectored IO to read from the file descriptor
// get the file descriptor // TODO: implement