iscsi_sessions_free(3)

iscsi_sessions_free3

Free the memory of 'struct iscsi_session' pointer array

Usage

void iscsi_sessions_free (struct iscsi_session **ses, uint32_t session_count);

Arguments

ses

Pointer of 'struct iscsi_session' pointer array.

session_count

uint32_t, the size of 'struct iscsi_session' pointer array.

Overview

Free the memory of 'iscsi_session' pointer array generated by If provided 'ses' pointer is NULL or 'session_count' is 0, do nothing.

Return

void

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

From open-iscsi 2.1.13-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.