summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/nice.c
AgeCommit message (Collapse)Author
2005-02-14Fix some issues with nice(). SUSv3 specifies that it return the newManuel Novoa III
priority if successful, while the linux syscall returns 0. Also, in the non-syscall version, we must be sure to set errno to EPERM on failure since setpriority() can set errno to several possible values. Note: The version of glibc on my debian system is broken wrt EPERM too.
2005-01-05fix eriks e-mail addressMike Frysinger
2004-01-21Split up syscalls.c, since it had grown to be quite large and ugly.Eric Andersen
-Erik