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

IOCINFO (Return devinfo Structure) ioctl Input Device Driver


Returns devinfo structure.


#include <sys/devinfo.h>
int ioctl (FileDescriptor, IOCINFO, Arg)
int FileDescriptor;
struct devinfo *Arg;


The IOCINFO ioctl operation returns a devinfo structure, defined in the /usr/include/sys/devinfo.h file, that describes the device. Only the first two fields are valid for this device. The values are as follows:

char devtype;   /* device type TBD                  */
char flags;     /* open flags (see sys/device.h)    */


FileDescriptor Specifies the open file descriptor for the device.
Arg Specifies the address of the devinfo structure.

Implementation Specifics

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

[ Previous | Next | Contents | Home | Search ]