source:
trunk/minix/lib/posix/_getuid.c@
9
| Last change on this file since 9 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 146 bytes | |
| Rev | Line | |
|---|---|---|
| [9] | 1 | #include <lib.h> |
| 2 | #define getuid _getuid | |
| 3 | #include <unistd.h> | |
| 4 | ||
| 5 | PUBLIC uid_t getuid() | |
| 6 | { | |
| 7 | message m; | |
| 8 | ||
| 9 | return( (uid_t) _syscall(MM, GETUID, &m)); | |
| 10 | } |
Note:
See TracBrowser
for help on using the repository browser.