projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
56ed6b4c47d71c8a144398f19fa03b25ba948596
[musl]
/
src
/
unistd
/
pwrite.c
1
#include <unistd.h>
2
#include "syscall.h"
3
#include "libc.h"
4
5
ssize_t pwrite(int fd, const void *buf, size_t size, off_t ofs)
6
{
7
ssize_t r;
8
CANCELPT_BEGIN;
9
r = syscall5(__NR_pwrite, fd, (long)buf, size, SYSCALL_LL(ofs));
10
CANCELPT_END;
11
return r;
12
}
13
14
LFS64(pwrite);