36 status = ioctl(fd, SES_IOCTL_GETSTATE, abuf);
37
38 ERRORS
39 EIO The ses driver was unable to obtain data from the enclosure
40 services device or the data transfer could not be completed.
41
42 ENOTTY The ses driver does not support the requested ioctl function.
43
44 ENXIO The enclosure services device does not exist.
45
46 EFAULT The user specified a bad data length.
47
48 STRUCTURES
49 The ses_ioctl structure has the following fields:
50
51 uint32_t page_size; /* Size of buffer that follows */
52 uint8_t page_code: /* Page to be read/written */
53 uint8_t reserved[3]; /* Reserved; Set to 0 */
54
55 ARCHITECTURE
56 SPARC
57
58 SEE ALSO
59 ses(7D), ioctl(9E)
60
61 illumos October 23, 2017 illumos
|
36 status = ioctl(fd, SES_IOCTL_GETSTATE, abuf);
37
38 ERRORS
39 EIO The ses driver was unable to obtain data from the enclosure
40 services device or the data transfer could not be completed.
41
42 ENOTTY The ses driver does not support the requested ioctl function.
43
44 ENXIO The enclosure services device does not exist.
45
46 EFAULT The user specified a bad data length.
47
48 STRUCTURES
49 The ses_ioctl structure has the following fields:
50
51 uint32_t page_size; /* Size of buffer that follows */
52 uint8_t page_code: /* Page to be read/written */
53 uint8_t reserved[3]; /* Reserved; Set to 0 */
54
55 ARCHITECTURE
56 SPARC x86
57
58 SEE ALSO
59 ioctl(2), ses(7D)
60
61 illumos February 17, 2020 illumos
|