summaryrefslogtreecommitdiff
path: root/src/unistd/write.c
blob: e2f7e1f219ad3dedcebe4f1e1362848af72ad5dd (plain)
1
2
3
4
5
6
7
8
#include <unistd.h>
#include "syscall.h"
#include "libc.h"

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