repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
in clock_getres, check for null pointer before storing result
[musl.git]
/
src
/
unistd
/
pwrite.c
blob
ca3765762274f3b3506239377ecf72091f5b948b
1
#include <unistd.h>
2
#include
"syscall.h"
3
4
ssize_t
pwrite
(
int
fd
,
const void
*
buf
,
size_t
size
,
off_t ofs
)
5
{
6
return
syscall_cp
(
SYS_pwrite
,
fd
,
buf
,
size
,
__SYSCALL_LL_PRW
(
ofs
));
7
}
8
9
weak_alias
(
pwrite
,
pwrite64
);