28 lines
1.3 KiB
HTML
28 lines
1.3 KiB
HTML
<html><!-- This HTML file has been created by texi2html 1.29
|
|
from syscalls.texi on 4 June 1994 -->
|
|
|
|
<TITLE>Syscall specifications of Linux - nice</TITLE>
|
|
<P>Go to the <A HREF="syscalls_64.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_64.html">previous</A>, <A HREF="syscalls_66.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_66.html">next</A> section.<P>
|
|
<H2><A NAME="SEC65" HREF="syscalls_toc.html#SEC65" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_toc.html#SEC65">nice</A></H2>
|
|
<P>
|
|
<H3>SYNOPSIS</H3>
|
|
<P>
|
|
<CODE>int nice(int <VAR>inc</VAR>);</CODE>
|
|
|
|
<H3>PARAMETERS</H3>
|
|
<P>
|
|
<VAR>inc</VAR>: [in] the increment.
|
|
<P>
|
|
<H3>DESCRIPTION</H3>
|
|
<P>
|
|
Adds <VAR>inc</VAR> to the priority of the calling task. Only a task with
|
|
superuser privileges may specify a negative <VAR>inc</VAR>.
|
|
<P>
|
|
<H3>RETURN VALUE</H3>
|
|
<P>
|
|
On success, returns 0. On error, returns -1 and <CODE>errno</CODE> is set
|
|
to one of the following values: <CODE>EPERM</CODE>: the task tried to decrease
|
|
the priority value but does not have superuser privileges.
|
|
<P>
|
|
<P>Go to the <A HREF="syscalls_64.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_64.html">previous</A>, <A HREF="syscalls_66.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_66.html">next</A> section.<P>
|