summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/unistd/write.c
blob: 8fd5bc5c261ced94e02e7fcb8bb5d26698055fc5 (plain)
1
2
3
4
5
6
7
#include <unistd.h>
#include "syscall.h"

ssize_t write(int fd, const void *buf, size_t count)
{
	return syscall_cp(SYS_write, fd, buf, count);
}