---
name: "iscsi_node_tpgt_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_tpgt_get"
---

# iscsi\_node\_tpgt\_get(3)

Retrieve target portal group tag of specified iSCSI node.

## NAME

iscsi\_node\_tpgt\_get - Retrieve target portal group tag of specified iSCSI node.

## SYNOPSIS

**int32\_t iscsi\_node\_tpgt\_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 portal group tag of specified iSCSI node.

## RETURN

int32\_t. -1 for unknown.
