_write.c 210 B

1234567891011
  1. #include <lib.h>
  2. #define write _write
  3. #include <unistd.h>
  4. PUBLIC int write(fd, buffer, nbytes)
  5. int fd;
  6. char *buffer;
  7. unsigned nbytes;
  8. {
  9. return(_callm1(FS, WRITE, fd, nbytes, 0, buffer, NIL_PTR, NIL_PTR));
  10. }