summaryrefslogtreecommitdiff
path: root/src/unistd/write.c
blob: 27a17aca6f43e097ee2f1a6f92dc80e65efd2284 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#if 0

#include <sys/types.h>
#include <unistd.h>
#include "_assert.h"
#include "_syscall.h"

ssize_t write(int fildes, const void *buf, size_t nbyte)
{
	if (nbyte != 0) {
		ASSERT_NONNULL(buf);
	}
	SYSCALL(write, ssize_t, -1, fildes, buf, nbyte, 0, 0, 0);
}
/*
POSIX(1)
*/


#endif