vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

read.c (169B)


      1 #include <unistd.h>
      2 #include <errno.h>
      3 #include "syscall.h"
      4 
      5 ssize_t read(int fd, void *buf, size_t size)
      6 {
      7 	return syscall(VXSYSREAD, fd, (unsigned)buf, size, 0, 0);
      8 }