DOKK / manpages / debian 12 / libopeniscsiusr-dev / iscsi_iface_iname_get.3.en
iscsi_iface_iname_get(3) API Manual iscsi_iface_iname_get(3)

iscsi_iface_iname_get - Retrieve initiator name of specified iSCSI interface

const char * iscsi_iface_iname_get (struct iscsi_iface *iface);

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

Retrieve the initiator name of specified iSCSI interface.

const char *. No need to free this memory, the resources will get freed by iscsi_session_free or iscsi_sessions_free.

iscsi_iface_iname_get October 2022