---
name: "iscsi_node_target_name_get"
section: "3"
platform: "linux"
package: "open-iscsi"
version: "2.1.13-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/iscsi_node_target_name_get"
---

# iscsi\_node\_target\_name\_get(3)

Retrieve target name of specified iSCSI node.

## NAME

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

## SYNOPSIS

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

## ARGUMENTS

- node

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

## DESCRIPTION

Retrieve the target name of specified iSCSI node.

## EXAMPLES

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

## RETURN

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