Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ioctl(2) — sys5 — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought



IOCTL(2)        DOMAIN/IX Reference Manual (SYS5)        IOCTL(2)



NAME
     ioctl - control device

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

DESCRIPTION
     Ioctl performs a variety of functions on character special
     files (devices).  The discussions of various devices in
     Chapters 4 and 5 explain how ioctl applies to them (see,
     especially, termio(5) and tty(4)).

NOTES
     When ioctl is used in programs that deal with pads, setting
     the mode to RAW has the immediate effect of putting the pad
     into raw mode.  Other ioctl parameters are stored and will
     be inherited by the VT100 program if it is subsequently
     invoked in that pad.

RETURN VALUE
     When an error occurs, ioctl returns a value of -1 and errno
     is set to indicate the error.

ERRORS
     Ioctl will fail if one or more of the following is 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.

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



















Printed 8/1/85                                            IOCTL-1



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