getuid.c 154 B

12345678910
  1. #include <unistd.h>
  2. #include <syscall.h>
  3. #include <syscall_nums.h>
  4. DEFN_SYSCALL0(getuid, SYS_GETUID);
  5. uid_t getuid(void) {
  6. return syscall_getuid();
  7. }