haiku/headers/posix
Leorize b9c25b0d0e unistd: introduce nice()
This commit implements nice() as specified in POSIX.1-2008.

Fixes #4932.

Change-Id: Ibd8d4636d9e3a8adf0f26a081d5b1180f0cbb839
Reviewed-on: https://review.haiku-os.org/c/863
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-01-19 18:31:58 +00:00
..
arch posix: Add initial ARM64 headers. 2018-08-02 19:59:30 -04:00
arpa libbind: integrate "netresolv" patches from NetBSD. 2015-06-14 15:47:03 +02:00
compat/sys Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
net if_dl: Increase size of sdl_data from 20 to 46 bytes. 2018-06-20 21:26:21 -04:00
netinet Revert unrelated part of 17aa359b5d. 2014-07-11 22:23:21 +02:00
netinet6 Fix IN6_IS_ADDR_V4MAPPED & IN6_IS_ADDR_V4COMPAT false positives 2018-11-27 02:43:53 +00:00
sys libroot: add [gs]etpriority implementation 2019-01-19 18:31:58 +00:00
alloca.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
assert.h assert.h: reintroduce headers guard for function declarations. 2015-08-29 23:14:03 +02:00
bsd_mem.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
complex.h complex.h: add a C++ guard. 2016-10-05 09:18:42 +02:00
ctype.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
dirent.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
div_t.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
dlfcn.h libroot.so: make first parameter of dladdr() const. 2017-09-15 23:09:24 +02:00
endian.h Revert "endian.h: add BSD extensions when _BSD_SOURCE is defined." 2017-09-11 07:06:52 +12:00
errno.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
fcntl.h POSIX: F_DUPFD_CLOEXEC support (POSIX.1-2008). 2017-08-24 17:54:50 +02:00
fenv.h arch: Cleanup of __ARM__ checks 2018-07-31 19:12:20 -05:00
fnmatch.h Added headers for fnmatch, glob, and pwd stuff. 2002-10-06 23:47:13 +00:00
fts.h Restore FTS_WHITEOUT, guard it with __HAIKU__. 2013-01-11 00:26:48 +01:00
ftw.h Add Haiku support. 2013-01-11 00:26:48 +01:00
getopt.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
glob.h * Updated glob.h and its implementation to FreeBSD current (1.10, 1.27), 2008-10-28 14:13:30 +00:00
grp.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
inttypes.h Remove __STDC_FORMAT/CONSTANT_MACROS 2017-06-04 17:29:29 +02:00
iovec.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
langinfo.h <langinfo.h>/<select.h>: don't use C++ comments 2013-06-12 14:55:16 +02:00
libgen.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
libio.h closing #3481: 2009-05-26 11:21:56 +00:00
limits.h libroot: add [gs]etpriority implementation 2019-01-19 18:31:58 +00:00
locale.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
malloc_debug.h malloc_debug: Implement allocation dump on exit in guarded heap. 2015-04-10 17:04:28 +02:00
malloc.h malloc: implement malloc_usable_size(). 2015-06-13 14:29:11 +02:00
math.h Add missing definitions to math.h 2013-10-01 19:48:51 +02:00
memory.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
monetary.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
netdb.h Remove pthread.h include from netdb.h 2016-08-27 09:04:22 +02:00
nl_types.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
null.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
poll.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
pthread.h posix/pthread.h: mark pthread_exit as noreturn 2018-10-17 19:23:17 +00:00
pwd.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
regex.h use __haiku_addr_t instead of __haiku_uint32 2010-08-14 11:58:02 +00:00
resolv.h libbind: integrate "netresolv" patches from NetBSD. 2015-06-14 15:47:03 +02:00
sched.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
search.h search.h: fix typo. 2014-06-07 10:54:15 +02:00
semaphore.h Reimplement unnamed POSIX semaphores using user_mutex 2015-05-24 14:03:40 +01:00
setjmp.h setjmp.h: add noreturn keyword on longjmp variants. 2018-07-21 12:27:27 +02:00
shadow.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
signal.h Revert "Add sys/ucontext.h" 2014-08-09 20:18:05 +02:00
size_t.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
spawn.h libroot: add posix_spawn(). 2017-09-12 19:42:57 +02:00
stdint.h Remove __STDC_FORMAT/CONSTANT_MACROS 2017-06-04 17:29:29 +02:00
stdio_ext.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
stdio_post.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
stdio_pre.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
stdio.h stdio.h: declare fcloseall() GNU extension 2015-05-08 23:46:15 +02:00
stdlib.h Fix #7008: Add a64l and l64a from glibc, and add some missing definitions in wchar.h and stdlib.h 2014-12-14 18:06:09 +01:00
string.h string.h: include strings.h for compatibility. 2014-10-30 00:20:13 +01:00
strings.h include strings.h where appriopriate... 2014-08-08 22:40:37 +02:00
syslog.h syslog.h: Add LOG_NFACILITIES, LOG_FACMASK, LOG_FAC. 2017-12-26 17:09:26 -05:00
tar.h added tar.h posix header. 2014-04-26 11:09:24 +02:00
termios.h Allow custom baud rates for FTDI serial ports 2016-02-27 19:08:53 +01:00
time.h Switch to a 64-bit time_t everywhere except 32-bit x86. 2017-06-06 17:38:17 -04:00
uchar.h uchar: Introduce C11 uchar.h 2018-01-14 14:42:34 +00:00
unistd.h unistd: introduce nice() 2019-01-19 18:31:58 +00:00
utime.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
wchar_t.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
wchar.h Fix #7008: Add a64l and l64a from glibc, and add some missing definitions in wchar.h and stdlib.h 2014-12-14 18:06:09 +01:00
wctype.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00