33 lines
1.4 KiB
HTML
33 lines
1.4 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 - iopl</TITLE>
|
|
<P>Go to the <A HREF="syscalls_91.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_91.html">previous</A>, <A HREF="syscalls_93.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_93.html">next</A> section.<P>
|
|
<H2><A NAME="SEC92" HREF="syscalls_toc.html#SEC92" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_toc.html#SEC92">iopl</A></H2>
|
|
<P>
|
|
<H3>SYNOPSIS</H3>
|
|
<P>
|
|
<CODE>int iopl(int <VAR>level</VAR>);</CODE>
|
|
<P>
|
|
<H3>PARAMETERS</H3>
|
|
<P>
|
|
<VAR>level</VAR>: [in] the new io level of the process, in the range [0,3].
|
|
<P>
|
|
<H3>DESCRIPTION</H3>
|
|
<P>
|
|
Changes the io privilege level of the current task. The task must have
|
|
superuser privileges to use the call. The task can get total io
|
|
privileges this way.
|
|
<P>
|
|
<H3>RETURN VALUE</H3>
|
|
<P>
|
|
On success zero is returned. On error -1 is returned and <CODE>errno</CODE> is
|
|
set to one of the following values:
|
|
<P>
|
|
<UL>
|
|
<LI><CODE>EINVAL</CODE>: <VAR>level</VAR> has an invalid value.
|
|
<LI><CODE>EPERM</CODE>: the calling process is not superuser.
|
|
</UL>
|
|
<P>
|
|
<P>Go to the <A HREF="syscalls_91.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_91.html">previous</A>, <A HREF="syscalls_93.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_93.html">next</A> section.<P>
|