Ini_RemoveSection

int Ini_RemoveSection (IniText handle, const char sectionName[]);

Purpose

This function removes a section and all of its items from the list of in–memory tag/value pairs.

Parameters

Input
Name Type Description
handle IniText A handle returned from Ini_New. It represents the list of in-memory tag/value pairs.
sectionName const char [] The name of the section to remove.

Return Value

Name Type Description
result integer Indicates if the section specified by sectionName was removed from the tag/value pairs specified by handle.

If the section was removed, a 1 is returned.

If the section was not found, a 0 is returned.