omit errno update path for syscalls that cannot fail

This commit is contained in:
Rich Felker 2011-04-21 21:52:41 -04:00
parent 31f014e0a7
commit d878dcecca
7 changed files with 7 additions and 7 deletions

View File

@ -3,5 +3,5 @@
gid_t getegid(void) gid_t getegid(void)
{ {
return syscall(SYS_getegid); return __syscall(SYS_getegid);
} }

View File

@ -3,5 +3,5 @@
uid_t geteuid(void) uid_t geteuid(void)
{ {
return syscall(SYS_geteuid); return __syscall(SYS_geteuid);
} }

View File

@ -3,5 +3,5 @@
gid_t getgid(void) gid_t getgid(void)
{ {
return syscall(SYS_getgid); return __syscall(SYS_getgid);
} }

View File

@ -3,5 +3,5 @@
pid_t getpgrp(void) pid_t getpgrp(void)
{ {
return syscall(SYS_getpgrp); return __syscall(SYS_getpgrp);
} }

View File

@ -3,5 +3,5 @@
pid_t getpid(void) pid_t getpid(void)
{ {
return syscall(SYS_getpid); return __syscall(SYS_getpid);
} }

View File

@ -3,5 +3,5 @@
pid_t getppid(void) pid_t getppid(void)
{ {
return syscall(SYS_getppid); return __syscall(SYS_getppid);
} }

View File

@ -3,5 +3,5 @@
uid_t getuid(void) uid_t getuid(void)
{ {
return syscall(SYS_getuid); return __syscall(SYS_getuid);
} }