DOKK / manpages / debian 11 / libopeniscsiusr-dev / iscsi_session_sid_get.3.en
iscsi_session_sid_get(3) iSCSI Userspace API - libopeniscsiusr Manual iscsi_session_sid_get(3)

iscsi_session_sid_get - Retrieve iSCSI session ID of specified session.

uint32_t iscsi_session_sid_get (struct iscsi_session *se);

Pointer of 'struct iscsi_session'. If this pointer is NULL, your program will be terminated by assert.

Retrieve iSCSI session ID. The session ID here is the integer used in '/sys/class/iscsi_session/session<session_id>/'

uint32_t.

iscsi_session_sid_get May 2021