projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add and consolidate nasty stdio_ext junk
[oweals/musl.git]
/
src
/
unistd
/
write.c
diff --git
a/src/unistd/write.c
b/src/unistd/write.c
index a8284b3216684c9ed8033b69ae0d73494729f535..e2f7e1f219ad3dedcebe4f1e1362848af72ad5dd 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(SYS_write, fd, buf, count);
- CANCELPT_END;
- return r;
+ return syscall_cp(SYS_write, fd, buf, count);
}