source:
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/unistd/setuid.c@
342
Last change on this file since 342 was 342, checked in by , 6 years ago | |
---|---|
|
|
File size: 128 bytes |
Rev | Line | |
---|---|---|
[337] | 1 | #include <unistd.h> |
2 | #include "syscall.h" | |
3 | #include "libc.h" | |
4 | ||
5 | int setuid(uid_t uid) | |
6 | { | |
[342] | 7 | return __setxid(__NR_setuid, uid, 0, 0); |
[337] | 8 | } |
Note:
See TracBrowser
for help on using the repository browser.