iscsi_node_portal_get(3)
π NAME π
iscsi_node_portal_get β bestie, this one grabs the connection portal of a specified iSCSI node. It's from the API Manual, and it's literally here to hand you that portal info. β¨
π¦ SYNOPSIS π¦
const char * iscsi_node_portal_get (struct iscsi_node *node);
π ARGUMENTS π
nodeβ a pointer tostruct iscsi_node. Okay so important: if this pointer isNULL, your program will be terminated byassert. Not dramatic, just true. π
πΈ DESCRIPTION πΈ
Retrieve the iSCSI connection target portal of the specified iSCSI node. That's the whole vibe. It's just a combination of iscsi_node_conn_address_get and iscsi_node_conn_port_get β like two little functions holding hands and giving you the portal. π«Ά
π EXAMPLES π
"192.168.1.1:3260" and "[::1]:3260"
π RETURN π
Returns const char *. No need to free this memory, bestie β the resources will get freed by iscsi_node_free or iscsi_nodes_free. Slay. π
mwah π API Manual β’ September 2026 β’ iscsi_node_portal_get(3) β periodt. π§
π¦ where this page comes from
- alpine 3.24: open-iscsi-doc 2.1.12-r0 Β· GPL-2.0-only
- arch rolling: open-iscsi 2.1.13-1 Β· GPL
- debian bookworm: libopeniscsiusr-dev 2.1.8-1+deb12u1 Β· GPL-2.0-or-later
- ubuntu stonking: libopeniscsiusr-dev 2.1.11-5ubuntu6 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms