.\" Hey Emacs! This file is -*- nroff -*- source. .\" .\" Copyright (c) 1993 Michael Haardt .\" (michael@moria.de) .\" Fri Apr 2 11:32:09 MET DST 1993 .\" .\" This is free documentation; you can redistribute it and/or .\" modify it under the terms of the GNU General Public License as .\" published by the Free Software Foundation; either version 2 of .\" the License, or (at your option) any later version. .\" .\" The GNU General Public License's references to "object code" .\" and "executables" are to be interpreted as the output of any .\" document formatting or typesetting system, including .\" intermediate and printed output. .\" .\" This manual is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public .\" License along with this manual; if not, write to the Free .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, .\" USA. .\" .\" Modified Sat Jul 24 15:12:05 1993 by Rik Faith .\" Modified Tue Aug 1 16:27 1995 by Jochen Karrer .\" .\" Modified Tue Oct 22 08:11:14 EDT 1996 by Eric S. Raymond .\" Modified Mon Feb 15 17:28:41 CET 1999 by Andries E. Brouwer .\" .TH IOPERM 2 "Januari 21, 1993" "Linux" "Linux Programmeurs Handleiding" .SH NAAM ioperm \- zet poort invoer/uitvoer toestemmingen. .SH OVERZICHT .B #include /* voor libc5 */ .br .B #include /* voor glibc */ .sp .BI "int ioperm(unsigned long " vanaf ", unsigned long " num ", int " doe_aan ); .SH BESCHRIJVING \fBIoperm\fP zet de poort toegang toestemming bits voor het proces voor \fInum\fP bytes startend van poort adres \fBvanaf\fP tot de waarde \fBdoe_aan\fP. Het gebruik van \fBioperm\fP vereist root privileges. Alleen de eerste 0x3ff In/Uit poorten kunnen opgegeven worden op deze manier. Voor meer poorten moet de .B iopl functie gebruikt worden. Toestemmingen worden niet geërfd bij een `fork' {splits}, maar bij `exec' {uitvoeren} wel. Dit is bruikbaar voor het geven van poort-toegang toestemmingen aan niet geprivilegieerde taken. .SH "TERUGGEEF WAARDE" Bij success wordt nul teruggegeven. Bij falen wordt \-1 teruggegeven en wordt .I errno naar behoren gezet. .SH "VOLDOET AAN" \fBioperm\fP is Linux-eigen en zou niet gebruikt moeten worden in programma's die draagbaar bedoeld zijn. .SH "OPMERKINGEN" Libc5 behandeld het als een systeem aanroep en heeft een prototype in .IR . Glibc1 heeft geen prototype. Glibc2 heeft een prototype in .I en in .IR . Ontwijk de laatste, het is alleen voorhanden op i386. .SH "ZIE OOK" .BR iopl "(2) {in/uit privilege niveau}" .\" Translated Sun Nov 26 12:07:01 CET 2000 Jos Boersema .SH VERTALING Dit is een handleiding uit \fBmanpages-dev 1.29\fR. Alles wat tussen `\fB{\fR'..`\fB}\fR' staat is \fBaanvullende vertaling\fR, en hoort \fBniet\fR bij de originele handleiding. Email naar . .\"Vertaling Jos Boersema $Id: ioperm.2,v 1.1 2003/04/28 18:43:34 bokkie Exp $