summaryrefslogtreecommitdiff
path: root/lib/libc/gen/nice.c
AgeCommit message (Collapse)Author
2011-05-01nice should always return EPERM, not EACCESchristos
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22280, verified by myself.
2002-06-10Take into consideration that setpriority() silently fits the givenkleink
priority into its interval, so we really need to use getpriority() to retrieve the correct return value; noted by Matthias Drochner.
2002-06-04As documented, return the new priority if successful; from Matthiaskleink
Drochner in PR lib/17156.
2000-01-22Delint.mycroft
Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
1998-06-09include <errno.h> instead of declaring errno locallymikel
1997-07-21If port provides __weak_alias(), provide an Standard C and POSIX purejtc
identifier namespace by renaming non standard functions and variables such that they have a leading underscore. The library will use those names internally. Weak aliases are used to provide the original names to the API. This is only the first part of this change. It is most of the functions which are implemented in C for all NetBSD ports. Subsequent changes are to add the same support to the remaining C files, to assembly files, and to the automagically generated assembly source used for system calls. When all of the above is done, ports with weak alias support should add a definition for __weak_alias to <sys/cdefs.h>.
1997-07-13Fix RCSID'schristos
1995-02-27merge with Lite, keeping local changes. Fix up Id format, etc.cgd
1993-09-27#include <sys/types.h>, for magnum changes.mycroft
1993-08-26Declare rcsid strings so they are stored in text segment.jtc
1993-07-30Add even more RCS frobs.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd