prop_bool_true(3) - NetBSD Manual Pages

PROP_BOOL(3)            NetBSD Library Functions Manual           PROP_BOOL(3)


NAME
prop_bool, prop_bool_create, prop_bool_copy, prop_bool_true, prop_bool_value -- 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); bool prop_bool_value(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) 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.
SEE ALSO
prop_array(3), prop_data(3), prop_dictionary(3), prop_number(3), prop_object(3), prop_string(3), proplib(3)
HISTORY
The proplib(3) property container object library first appeared in NetBSD 4.0. NetBSD 10.99 June 2, 2020 NetBSD 10.99

Powered by man-cgi (2024-08-26). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.