aboutsummaryrefslogtreecommitdiff
path: root/src/unistd/write.c
blob: e651905af180351cd548b6c9b4c7457dfd097da7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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);
}


#ifdef TEST
int
main(void) {
	return 0;
}
#endif