PROP_BOOL(3) |
Library Functions Manual |
PROP_BOOL(3) |
NAME
prop_bool, prop_bool_create, prop_bool_copy, prop_bool_true — boolean value property object
LIBRARY
Property Container Object Library (libprop, -lprop)
SYNOPSIS
#include <prop/proplib.h>
prop_bool_t
prop_bool_create(bool val);
prop_bool_t
prop_bool_copy(prop_bool_t bool);
bool
prop_bool_true(prop_bool_t bool);
DESCRIPTION
The
prop_bool family of functions operate on a boolean value property object type.
-
prop_bool_create(bool val)
-
Create a boolean value object with the value val.
-
prop_bool_copy(prop_bool_t bool)
-
Copy a boolean value object. If the supplied object isn't a boolean, NULL is returned.
-
prop_bool_true(prop_bool_t bool)
-
Returns the value of the boolean value object. If the supplied object isn't a boolean, false is returned.
HISTORY
The proplib property container object library first appeared in NetBSD 4.0.