switch to using trap number 31 for syscalls on sh
[oweals/musl.git] / src / unistd / write.c
1 #include <unistd.h>
2 #include "syscall.h"
3 #include "libc.h"
4
5 ssize_t write(int fd, const void *buf, size_t count)
6 {
7         return syscall_cp(SYS_write, fd, buf, count);
8 }