33 lines
1.5 KiB
HTML
33 lines
1.5 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 - ioperm</TITLE>
|
|
<P>Go to the <A HREF="syscalls_90.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_90.html">previous</A>, <A HREF="syscalls_92.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_92.html">next</A> section.<P>
|
|
<H2><A NAME="SEC91" HREF="syscalls_toc.html#SEC91" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_toc.html#SEC91">ioperm</A></H2>
|
|
<P>
|
|
<H3>SYNOPSIS</H3>
|
|
<P>
|
|
<CODE>int ioperm(unsigned long <VAR>from</VAR>, unsigned long <VAR>num</VAR>, int
|
|
<VAR>turn_on</VAR>);</CODE>
|
|
<P>
|
|
<H3>PARAMETERS</H3>
|
|
<P>
|
|
<VAR>from</VAR>: [in] begining of the range of ports to modify.
|
|
<P>
|
|
<VAR>num</VAR>: [in] number of ports to modify.
|
|
<P>
|
|
<VAR>turn_on</VAR>: [in] new permission value of the new ports.
|
|
<P>
|
|
<H3>DESCRIPTION</H3>
|
|
<P>
|
|
Modify the permission bits of a range of ports for the current task. The
|
|
task must have superuser privileges to use the call. The range of ports
|
|
that can be modified is limited to [0,3FFh].
|
|
<P>
|
|
<H3>RETURN VALUE</H3>
|
|
<P>
|
|
On success zero is returned. On error -1 is returned and <CODE>errno</CODE> is
|
|
set to a value reflecting the kind of error.
|
|
<P>
|
|
<P>Go to the <A HREF="syscalls_90.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_90.html">previous</A>, <A HREF="syscalls_92.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_92.html">next</A> section.<P>
|