Query: i386_iopl
OS: netbsd
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
I386_IOPL(2) BSD/i386 System Calls Manual I386_IOPL(2)NAMEi386_iopl -- change the i386 I/O privilege levelLIBRARYi386 Architecture Library (libi386, -li386)SYNOPSIS#include <sys/types.h> #include <machine/sysarch.h> int i386_iopl(int iopl);DESCRIPTIONi386_iopl() sets the i386 I/O privilege level to the value specified by iopl. This call is restricted to the super-user.RETURN VALUESUpon successful completion, i386_iopl() returns 0. Otherwise, a value of -1 is returned and the global variable errno is set to indicate the error.ERRORSi386_iopl() will fail if: [EPERM] The caller was not the super-user, or the operation was not permitted at the current security level.REFERENCESi386 Microprocessor Programmer's Reference Manual, IntelWARNINGYou can really hose your machine if you enable user-level I/O and write to hardware ports without care.BSDApril 12, 2004 BSD
Related Man Pages |
---|
iopl(2) - linux |
iopl(2) - centos |
i386_get_ldt(2) - freebsd |
i386_set_ldt(2) - freebsd |
iopl(2) - opendarwin |
Similar Topics in the Unix Linux Community |
---|
Unix File Permissions |
NetBSD 6.1.2: apm and admd not found |
RFC - Korn shell prompt |
Make bold chars in UNIX |