nice(2) System Calls Manual nice(2) nice - Standard C library (libc, -lc) #include int nice(int inc); glibc (. feature_test_macros(7)): nice(): _XOPEN_SOURCE || /* glibc 2.19: */ _DEFAULT_SOURCE || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE nice() inc nice . ( nice .) : +19 ( ) -20 ( ). . , (. ., ). Linux 2.6.12 , RLIMIT_NICE; getrlimit(2). On success, the new nice value is returned (but see VERSIONS below). On error, -1 is returned, and errno is set to indicate the error. -1. errno 0 , nice() -1. EPERM , inc, . Linux CAP_SYS_NICE ( RLIMIT_NICE setrlimit(2)). C POSIX.1 , nice() . , Linux 0. nice() glibc 2.2.3 . glibc 2.2.4, nice() glibc, POSIX.1, getpriority(2) , . POSIX.1-2008. POSIX.1-2001, SVr4, 4.3BSD. sched(7). : <> Linux 2.6.38 , . sched(7). nice(1), renice(1), fork(2), getpriority(2), getrlimit(2), setpriority(2), capabilities(7), sched(7) () Alex Nik , Azamat Hackimov , Dmitry Bolkhovskikh , Yuri Kozlov , Kirill Rekhov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux man-pages 6.12 23 2024 . nice(2)