Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

IOPERM

Section: Systemaufrufe (2)
Updated: 2. Juni 1996
Index Return to Main Contents
 

BEZEICHNUNG

ioperm - setze Port-Zugriffsrechte für Eingabe/Ausgabe  

ÜBERSICHT

#include <unistd.h>

int ioperm(unsigned long from, unsigned long num, int turn_on);  

BESCHREIBUNG

Ioperm setzt die Portzugriffsrechtsbits für den Prozess für num Byte beginend mit Portadresse from auf den Wert turn_on. Der Gebraucht von ioperm benötigt Superuser-Rechte.

Nur die ersten 0x3ff I/O-Ports können in dieser Weise angegeben werden. Bei weiteren Ports muß die Funktion iopl verwendet werden. Rechte werden nicht von fork, wohl aber von exec vererbt. Dies ist nützlich, um Portzugriffsrechte nicht-pivilegierten Tasks zu gewähren.  

RÜCKGABEWERT

BEi Erfolg wird Null zurückgegeben. Im Fehlerfall wird -1 zurückgegeben und errno entsprechend gesetzt.  

KONFORM ZU

ioperm ist Linuxspezifisch.  

SIEHE AUCH

iopl(2).


 

Index

BEZEICHNUNG
ÜBERSICHT
BESCHREIBUNG
RÜCKGABEWERT
KONFORM ZU
SIEHE AUCH

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "Linuxinfor Man Pages in HTML Format: man2". See Index Page for more info about Authorship and Copyright.

1999-2008 Linuxinfor.com. No rights reserved.