Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ioctl(2) — A/UX 0.7

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

termio(7)



     ioctl(2)                                                 ioctl(2)



     NAME
          ioctl - control device

     SYNOPSIS
          ioctl (fildes, request, arg)
          int fildes, request;

     DESCRIPTION
          ioctl performs a variety of functions on character special
          files (devices).  The write-ups of various devices in
          Section 7 of the Oreo System Administration Reference
          discuss how ioctl applies to them.

          ioctl will fail if one or more of the following are true:

          [EBADF]        fildes is not a valid open file descriptor.

          [ENOTTY]       fildes is not associated with a character
                         special device.

          [EINVAL]       request or arg is not valid.  See Section 7
                         of the Oreo System Administration Reference.

          [EINTR]        A signal was caught during the ioctl system
                         call.

     RETURN VALUE
          If an error has occurred, a value of -1 is returned and
          errno is set to indicate the error.

     SEE ALSO
          termio(7).























     Page 1                                        (last mod. 1/14/87)



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