mirror of https://git.musl-libc.org/git/musl
Browse Source
the changes to syscall_ret are mostly no-ops in the generated code, just cleanup of type issues and removal of some implementation-defined behavior. the one exception is the change in the comparison value, which is fixed so that 0xf...f000 (which in principle could be a valid return value for mmap, although probably never in reality) is not treated as an error return.rs-1.0
6 changed files with 9 additions and 9 deletions
@ -1,7 +1,7 @@ |
|||
#include <unistd.h> |
|||
#include "syscall.h" |
|||
|
|||
pid_t setpgid(pid_t pid, pid_t pgid) |
|||
int setpgid(pid_t pid, pid_t pgid) |
|||
{ |
|||
return syscall(SYS_setpgid, pid, pgid); |
|||
} |
|||
|
|||
Loading…
Reference in new issue