Ini_RemoveItem

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

Purpose

This function removes an item from the list of in–memory tag/value pairs. If the item is a string that was split into multiple lines, then all of the lines are removed.

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 containing the item to remove.
tagName const char [] The tag name of the tag/value pair to remove.

Return Value

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

If the item was removed, a 1 is returned.

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