outb, outw, outl, outsb, outsw, outsl, inb, inw, inl, insb, insw, insl,
   outb_p, outw_p, outl_p, inb_p, inw_p, inl_p - port I/O


   #include <sys/io.h>

   unsigned char inb(unsigned short int port);
   unsigned char inb_p(unsigned short int port);
   unsigned short int inw(unsigned short int port);
   unsigned short int inw_p(unsigned short int port);
   unsigned int inl(unsigned short int port);
   unsigned int inl_p(unsigned short int port);

   void outb(unsigned char value, unsigned short int port);
   void outb_p(unsigned char value, unsigned short int port);
   void outw(unsigned short int value, unsigned short int port);
   void outw_p(unsigned short int value, unsigned short int port);
   void outl(unsigned int value, unsigned short int port);
   void outl_p(unsigned int value, unsigned short int port);

   void insb(unsigned short int port, void *addr,
              unsigned long int count);
   void insw(unsigned short int port, void *addr,
              unsigned long int count);
   void insl(unsigned short int port, void *addr,
              unsigned long int count);
   void outsb(unsigned short int port, const void *addr,
              unsigned long int count);
   void outsw(unsigned short int port, const void *addr,
              unsigned long int count);
   void outsl(unsigned short int port, const void *addr,
              unsigned long int count);


   This family of functions is used to do low-level port input and output.
   The out* functions do port output, the in* functions do port input; the
   b-suffix functions are byte-width  and  the  w-suffix  functions  word-
   width; the _p-suffix functions pause until the I/O completes.

   They  are  primarily  designed for internal kernel use, but can be used
   from user space.

   You must compile with -O or -O2 or similar.  The functions are  defined
   as  inline  macros, and will not be substituted in without optimization
   enabled, causing unresolved references at link time.

   You use ioperm(2) or alternatively iopl(2) to tell the kernel to  allow
   the  user  space  application  to  access  the  I/O  ports in question.
   Failure to do this will cause the application to receive a segmentation


   outb() and friends are hardware-specific.  The value argument is passed
   first and the port argument is passed second,  which  is  the  opposite
   order from most DOS implementations.


   ioperm(2), iopl(2)


   This  page  is  part of release 4.09 of the Linux man-pages project.  A
   description of the project, information about reporting bugs,  and  the
   latest     version     of     this    page,    can    be    found    at

More Linux Commands

yaz-ztest(8) - Z39 (Administration - Linux man page)........
yaz-ztest is a Z39.50/SRU test server that uses the YAZ generic frontend server (GFS) API. The server acts as a real Z39.50/SRU server but does not use a databa

get_nprocs_conf(3) get number of processors - Linux man page
The function get_nprocs_conf() returns the number of processors configured by the operating system. The function get_nprocs() returns the number of processors c

printf(1) - format and print data - Linux manual page.......
Print ARGUMENT(s) according to FORMAT, or execute according to OPTION: --help display this help and exit --version output version information and exit FORMAT co

inotify(7) - monitoring file system events - Linux man page
The inotify API provides a mechanism for monitoring filesystem events. Inotify can be used to monitor individual files, or to monitor directories. When a direct

wait3(2) - wait for process to change state, BSD style......
These functions are obsolete; use waitpid(2) or waitid(2) in new programs. The wait3() and wait4() system calls are similar to waitpid(2), but additionally retu

ppmshadow(1) - add simulated shadows to a PPM image.........
This program is part of Netpbm(1) ppmshadow adds a simulated shadow to an image, giving the appearance that the contents of the image float above the page, cast

dsp56k(4) - DSP56001 interface device - Linux manual page...
The Motorola DSP56001 is a fully programmable 24-bit digital signal processor found in Atari Falcon030-compatible computers. The dsp56k special file is used to

dbus-daemon(1) - Message bus daemon - Linux manual page.....
dbus-daemon is the D-Bus message bus daemon. See http://www.freedesktop.org/software/dbus/ for more information about the big picture. D-Bus is first a library

pdfmom(1) Produce PDF documents using the mom macro set.....
pdfmom is a wrapper around groff that facilitates the production of PDF documents from files formatted with the mom macros. pdfmom prints to stdout, so output m

fprint_objid(3) - netsnmp_mib_api functions - Linux man page
The functions dealing with MIB modules fall into four groups - those dealing with initialisation and shutdown, with reading in and parsing MIB files, with searc

XCompositeCreateRegionFromBorderClip(3) - X Composite Extens
The composite extension provides several related mechanisms: Per-hierarchy storage The rendering of an entire hierarchy of windows is redirected to off-screen s

libgphoto2(3) - cross-platform digital camera library.......
The gphoto2 library provides applications with access to a variety of cameras. This man page will be extended with autogenerated documentation of the interface

We can't live, work or learn in freedom unless the software we use is free.