musl/src/unistd/write.c
2011-02-12 00:22:29 -05:00

12 lines
206 B
C

#include <unistd.h>
#include "syscall.h"
#include "libc.h"
ssize_t write(int fd, const void *buf, size_t count)
{
int r;
CANCELPT_BEGIN;
r = __syscall_write(fd, buf, count);
CANCELPT_END;
return r;
}