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

iscsi_iface_name_get - Retrieve name of specified iSCSI interface

const char * iscsi_iface_name_get (struct iscsi_iface *iface);

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

Retrieve the 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_name_get May 2021