Ini_SectionExists

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

Purpose

Determines if the section specified by sectionName exists in the list of tag/value pairs specified by handle.

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, the existence of which is determined.

Return Value

Name Type Description
sectionExists integer Indicates if the section specified by sectionName exists in the list of tag/value pairs specified by handle.

If the section exists, a 1 is returned.

If the section does not exist, a 0 is returned.