[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 2

GIOQUERYID (Query Attached Devices)


Queries attached devices.


#include <sys/inputdd.h>
int ioctl(FileDescriptor, GIOQUERYID, Arg)
int FileDescriptor;
struct gioqueryid *Arg;


The GIOQUERYID ioctl subroutine call returns the identifier of devices connected to the GIO adapter. The ID of the device connected to port 0 is returned in the first field of the structure, and the device connected to port 1 is returned in the second field of the structure. Valid device IDs are as follows:

#define giolpfkid   0x01  /* LPFK device ID    */
#define giodialsid  0x02  /* dials device ID   */


FileDescriptor Specifies the open file descriptor for the gio adapter.
Arg Specifies the address of a gioqueryid structure.

Implementation Specifics

This ioctl subroutine call is part of Base Operating System (BOS) Runtime.

[ Previous | Next | Contents | Home | Search ]