prop_bool(3) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
PROP_BOOL(3)            NetBSD Library Functions Manual           PROP_BOOL(3)

prop_bool, prop_bool_create, prop_bool_copy, prop_bool_true, prop_bool_value -- boolean value property object
Property Container Object Library (libprop, -lprop)
#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); bool prop_bool_value(prop_bool_t bool);
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) prop_bool_value(prop_bool_t bool) Returns the value of the boolean value object. Both functions are equivalent. If the supplied object isn't a boolean, false is returned.
prop_array(3), prop_data(3), prop_dictionary(3), prop_number(3), prop_object(3), prop_string(3), proplib(3)
The proplib(3) property container object library first appeared in NetBSD 4.0. NetBSD 9.99 June 2, 2020 NetBSD 9.99
Powered by man-cgi (2021-03-02). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.