int Ini_RemoveSection (IniText handle, const char sectionName[]);
This function removes a section and all of its items from the list of in–memory tag/value pairs.
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. |
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. |