aboutsummaryrefslogtreecommitdiff
path: root/lib/sys/write.h
blob: 6447ed8f8ced5679f3cfba70a6c5c16416ea49fe (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef WRITE_H
#define WRITE_H

#include "syscalls.h"

static int write(unsigned int fd, const char *buf, unsigned long count)
{
	return syscall(WRITE, fd, buf, count);
}

#endif