Lines Matching refs:device
39 * devattr() Get the value of a attribute for a specific device
49 * "devtab.h" Local device table definitions
70 * char *devattr(device, attr)
72 * This function searches the device table, looking for the device
73 * specified by <device>. If it finds a record corresponding to that
74 * device (see below for a definition of that correspondence), it
79 * device Pointer to the character-string that describes the
80 * device whose record is to be looked for
81 * attr The device's attribute to be looked for
85 * attribute <attr> for the device <device>, or (char *) NULL if none
90 * EPERM Permissions deny reading access of the device-table
92 * ENOENT The specified device-table file could not be found
93 * ENODEV Device not found in the device table
94 * EINVAL The device does not have that attribute defined
100 char *device, /* The device ) we're to look for */
111 /* Get the record for the specified device */
112 if (!(record = _getdevrec(device))) {
120 /* Did they ask for the device alias? */
126 /* Did they ask for the character-special device? */
132 /* Did they ask for the block-special device? */