diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-04-21 21:52:41 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-04-21 21:52:41 -0400 |
commit | d878dceccaff9931160250496c6cc87a8fe45811 (patch) | |
tree | f0368f898914797f72c2ec2f8de336445813028a /src/unistd | |
parent | 31f014e0a751d2bb9d40a09fe2cd1a8b0111acf6 (diff) | |
download | musl-d878dceccaff9931160250496c6cc87a8fe45811.tar.gz musl-d878dceccaff9931160250496c6cc87a8fe45811.tar.bz2 musl-d878dceccaff9931160250496c6cc87a8fe45811.tar.xz musl-d878dceccaff9931160250496c6cc87a8fe45811.zip |
omit errno update path for syscalls that cannot fail
Diffstat (limited to 'src/unistd')
-rw-r--r-- | src/unistd/getegid.c | 2 | ||||
-rw-r--r-- | src/unistd/geteuid.c | 2 | ||||
-rw-r--r-- | src/unistd/getgid.c | 2 | ||||
-rw-r--r-- | src/unistd/getpgrp.c | 2 | ||||
-rw-r--r-- | src/unistd/getpid.c | 2 | ||||
-rw-r--r-- | src/unistd/getppid.c | 2 | ||||
-rw-r--r-- | src/unistd/getuid.c | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/unistd/getegid.c b/src/unistd/getegid.c index 76038f63..6287490d 100644 --- a/src/unistd/getegid.c +++ b/src/unistd/getegid.c @@ -3,5 +3,5 @@ gid_t getegid(void) { - return syscall(SYS_getegid); + return __syscall(SYS_getegid); } diff --git a/src/unistd/geteuid.c b/src/unistd/geteuid.c index 187ba0a1..88f2cd53 100644 --- a/src/unistd/geteuid.c +++ b/src/unistd/geteuid.c @@ -3,5 +3,5 @@ uid_t geteuid(void) { - return syscall(SYS_geteuid); + return __syscall(SYS_geteuid); } diff --git a/src/unistd/getgid.c b/src/unistd/getgid.c index 84823103..1c9fe715 100644 --- a/src/unistd/getgid.c +++ b/src/unistd/getgid.c @@ -3,5 +3,5 @@ gid_t getgid(void) { - return syscall(SYS_getgid); + return __syscall(SYS_getgid); } diff --git a/src/unistd/getpgrp.c b/src/unistd/getpgrp.c index 02449da9..433f42e8 100644 --- a/src/unistd/getpgrp.c +++ b/src/unistd/getpgrp.c @@ -3,5 +3,5 @@ pid_t getpgrp(void) { - return syscall(SYS_getpgrp); + return __syscall(SYS_getpgrp); } diff --git a/src/unistd/getpid.c b/src/unistd/getpid.c index 4ab2b7f1..a6d4e6d1 100644 --- a/src/unistd/getpid.c +++ b/src/unistd/getpid.c @@ -3,5 +3,5 @@ pid_t getpid(void) { - return syscall(SYS_getpid); + return __syscall(SYS_getpid); } diff --git a/src/unistd/getppid.c b/src/unistd/getppid.c index 7d103207..05cade53 100644 --- a/src/unistd/getppid.c +++ b/src/unistd/getppid.c @@ -3,5 +3,5 @@ pid_t getppid(void) { - return syscall(SYS_getppid); + return __syscall(SYS_getppid); } diff --git a/src/unistd/getuid.c b/src/unistd/getuid.c index 0bf9e714..61309d1b 100644 --- a/src/unistd/getuid.c +++ b/src/unistd/getuid.c @@ -3,5 +3,5 @@ uid_t getuid(void) { - return syscall(SYS_getuid); + return __syscall(SYS_getuid); } |