CA_GET_SLOT_INFO

Name #

CA_GET_SLOT_INFO

Synopsis #

CA_GET_SLOT_INFO

int ioctl(fd, CA_GET_SLOT_INFO, struct ca_slot_info *info)

Arguments #

  • fd

    File descriptor returned by a previous call to open().

  • info

    Pointer to struct ca_slot_info.

Description #

Returns information about a CA slot identified by ca_slot_info.slot_num.

Return Value #

On success 0 is returned, and ca_slot_info is filled.

On error -1 is returned, and the errno variable is set appropriately.

ENODEV

the slot is not available.

The generic error codes are described at the Generic Error Codes chapter.

Edit this page