OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e58aab
)
Add "__write" as a weak alias for "write"
author
Eric Andersen
<andersen@codepoet.org>
Tue, 28 Aug 2001 17:04:13 +0000
(17:04 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Tue, 28 Aug 2001 17:04:13 +0000
(17:04 -0000)
libc/sysdeps/linux/common/syscalls.c
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/common/syscalls.c
b/libc/sysdeps/linux/common/syscalls.c
index
2d20626
..
1ecb2e6
100644
(file)
--- a/
libc/sysdeps/linux/common/syscalls.c
+++ b/
libc/sysdeps/linux/common/syscalls.c
@@
-61,6
+61,7
@@
_syscall3(ssize_t, read, int, fd, __ptr_t, buf, size_t, count);
#ifdef L_write
#include <unistd.h>
_syscall3(ssize_t, write, int, fd, const __ptr_t, buf, size_t, count);
+weak_alias(write, __write);
#endif
//#define __NR_open 5