write.c 164 B

12345678
  1. #include <unistd.h>
  2. #include "syscall.h"
  3. #include "libc.h"
  4. ssize_t write(int fd, const void *buf, size_t count)
  5. {
  6. return syscall_cp(SYS_write, fd, buf, count);
  7. }