Provides access to the graphics I/O (GIO) adapter.
The GIO special file is the application interface to the GIO adapter. The GIO special file provides applications with the ability to determine what I/O devices are attached to the GIO adapter.
Standard configuration methods are provided for the GIO special file. User configurable attributes for the GIO special file do not exist.
The open subroutine call specifying the GIO special file is processed normally except that the Oflag and Mode parameters are ignored. An open request is rejected if the special file is already opened or if a kernel extension attempts to open the GIO special file.
Calls to the read and write routines behave as if the call was made to the /dev/null file.
The GIO special file supports the following functions with ioctls:
|Returns the devinfo structure.
|Returns the identifier of device connected to the GIO adapter.
The following error codes can be found in the /usr/include/sys/errno.h file:
|Indicates insufficient authority to access address or invalid address.
|Indicates an I/O error.
|Indicates insufficient memory for required paging operation.
|Indicates insufficient file system or paging space.
|Indicates that an invalid argument was specified.
|Indicates a request interrupted by signal.
|Indicates a permanent error occurred.
|Indicates the device is busy.
|Indicates an unsupported device number.
|Indicates an unsupported device or device type mismatch occurred.
The GIO special file is part of Base Operating System (BOS) Runtime.
|Contains the ioctl commands.
The close subroutine, ioctl subroutine, open subroutine, read subroutine, write subroutine.
The dials special file, lpfk special file.
Special Files Overview.