source:
trunk/minix/lib/posix/_getuid.c@
10
| Last change on this file since 10 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 146 bytes | |
| Line | |
|---|---|
| 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.