Solaris Bandwidth Manager 1.6 Developer Guide

ba_free()

Name

ba_free() -- free memory assigned to buffer

Synopsis

#include <netinet/ba_stat.h>

void ba_free (int *ptr);

Description

The function ba_free() frees the specified buffer. It is equivalent to the system function free(). The buffer must have been allocated by one of the following functions: ba_list_interface_config(), ba_list_classes() or ba_get_flow_stats().

Arguments

The function ba_free() is passed the following argument:

ptr

A pointer to the buffer to be freed