Lines Matching refs:device
37 * emulate a file called /etc/device.tab, which is consulted by SVR4
38 * packaging. The one device we want to emulate is the 'package spool',
47 * listdev returned a list of the attribute names for a given device,
51 listdev(char *device)
53 if (strcmp(device, "spool") == 0) {
62 * 1 - device not accessable
63 * 2 - unknown device (devattr failed)
67 * We return '2' in all cases except for the spool device, for which
71 getvol(char *device, char *label, int options, char *prompt)
73 return (_getvol(device, label, options, prompt, NULL));
78 _getvol(char *device, char *label, int options, char *prompt, char *norewind)
80 if (strcmp(device, "spool") == 0)