aboutsummaryrefslogtreecommitdiff
path: root/sys/linux/src/write.c
blob: 9586b9359b4985f8c11170523845f6c6d230b4a9 (plain)
1
2
3
4
5
6
7
8
#include "internal.h"

int
sys·write(int fd, void *buf, uintptr len, intptr *ret)
{
    long err = *ret = syscall(·Write, fd, buf, len);
    return error(err);
}