Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ iobitmapctl(D3) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       iobitmapctl(D3)                                      iobitmapctl(D3)


       NAME
             iobitmapctl - enable/disable/check user access to I/O ports

       SYNOPSIS
             #include <sys/types.h>
             #include <sys/iobitmap.h>
             #include <sys/ddi.h>
             int iobitmapctl(iob_request_t iob_rqt, ushort_t ports[])

          Arguments
             iob_rqt   The type of I/O port manipulation request.

             ports     Null-terminated list of the I/O ports to be
                       manipulated.

       DESCRIPTION
             iobitmapctl is used to check and control user access to I/O
             ports.

             Access control is on a per-process basis.  iobitmapctl
             operates on the currently running process.

          Return Values
             On an IOB_CHECK request, iobitmapctl returns non-zero if user
             access is enabled for all specified ports, otherwise zero.  On
             an IOB_ENABLE or IOB_DISABLE request, the return value is
             ERRNO.

       USAGE
             Valid values for iob_rqt are:

                   IOB_ENABLE     Enable user access to the specified
                                  ports.

                   IOB_DISABLE    Disable user access to the specified
                                  ports.

                   IOB_CHECK      Check user access to the specified ports.

          Level
             Base only.

          Synchronization Constraints
             Can Sleep.




                           Copyright 1994 Novell, Inc.               Page 1













      iobitmapctl(D3)                                      iobitmapctl(D3)


            Driver-defined basic locks, read/write locks, and sleep locks
            may not be held across calls to this function.

      NOTICES
         Portability
            AT-compatible architectures

         Applicability
            ddi: 5, 5mp, 6, 6mp, 7, 7mp







































                          Copyright 1994 Novell, Inc.               Page 2








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026