iscsi\_node\_target\_name\_get(3) API Manual iscsi\_node\_target\_name\_get(3)

# [NAME](#NAME)

iscsi\_node\_target\_name\_get - Retrieve target name of specified iSCSI node.

# [SYNOPSIS](#SYNOPSIS)

**const char * iscsi\_node\_target\_name\_get** **(struct iscsi\_node \*node);**

# [ARGUMENTS](#ARGUMENTS)

[node](#node)

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

# [DESCRIPTION](#DESCRIPTION)

Retrieve the target name of specified iSCSI node.

# [EXAMPLES](#EXAMPLES)

"iqn.2003-01.org.linux-iscsi.org:iscsi-targetcli"

# [RETURN](#RETURN)

const char \*. No need to free this memory, the resources will get freed by **iscsi\_node\_free** or **iscsi\_nodes\_free**.

iscsi\_node\_target\_name\_get October 2026

---

Document: iscsi_node_target_name_get(3) from open-iscsi 2.1.13-r3 (Chainguard OS)
Source: https://github.com/open-iscsi/open-iscsi
