CA_GET_SLOT_INFO
Name #
CA_GET_SLOT_INFO
Synopsis #
int ioctl(fd, CA_GET_SLOT_INFO, struct ca_slot_info *info)
Arguments #
-
fdFile descriptor returned by a previous call to
open(). -
infoPointer 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.
|
|
the slot is not available. |
The generic error codes are described at the Generic Error Codes chapter.