PROFILE_GetWineIniBool(3w)

PROFILE_GetWineIniBool3w

Int profile_getwineinibool(

Usage

int PROFILE_GetWineIniBool
(

char const *section,

char const *key_name,

int def
);

Overview

Char const *section, char const *key_name, int def )

Reads a boolean value from the wine.ini file. This function attempts to be user-friendly by accepting 'n', 'N' (no), 'f', 'F' (false), or '0' (zero) for false, 'y', 'Y' (yes), 't', 'T' (true), or '1' (one) for true. Anything else results in the return of the default value.

This function uses 1 to indicate true, and 0 for false. You can check for existence by setting def to something other than 0 or 1 and examining the return value.

From wine-doc 0.0.980315-1 in Debian 2.0 (Hamm). Parsed by carta from the page's man source.