projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix iconv dest utf-16: unavailable chars must be replaced; EILSEQ is wrong
[musl]
/
src
/
unistd
/
write.c
diff --git
a/src/unistd/write.c
b/src/unistd/write.c
index
426cfc5
..
e2f7e1f
100644
(file)
--- a/
src/unistd/write.c
+++ b/
src/unistd/write.c
@@
-4,9
+4,5
@@
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;
+ return syscall_cp(SYS_write, fd, buf, count);
}