prop_array_set_int32 man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

PROP_ARRAY_UTIL(3)	 BSD Library Functions Manual	    PROP_ARRAY_UTIL(3)

NAME
     prop_array_util, prop_array_get_bool, prop_array_set_bool,
     prop_array_get_int8, prop_array_get_uint8, prop_array_set_int8,
     prop_array_set_uint8, prop_array_get_int16, prop_array_get_uint16,
     prop_array_set_int16, prop_array_set_uint16, prop_array_get_int32,
     prop_array_get_uint32, prop_array_set_int32, prop_array_set_uint32,
     prop_array_get_int64, prop_array_get_uint64, prop_array_set_int64,
     prop_array_set_uint64, prop_array_add_int8, prop_array_add_uint8,
     prop_array_add_int16, prop_array_add_uint16, prop_array_add_int32,
     prop_array_add_uint32, prop_array_add_int64, prop_array_add_uint64,
     prop_array_get_cstring, prop_array_set_cstring,
     prop_array_get_cstring_nocopy, prop_array_set_cstring_nocopy

LIBRARY
     library “libprop”

SYNOPSIS
     #include <libprop/proplib.h>

     bool
     prop_array_get_bool(prop_array_t dict, unsigned int indx, bool *valp);

     bool
     prop_array_set_bool(prop_array_t dict, unsigned int indx, bool val);

     bool
     prop_array_get_int8(prop_array_t dict, unsigned int indx, int8_t *valp);

     bool
     prop_array_get_uint8(prop_array_t dict, unsigned int indx,
	 uint8_t *valp);

     bool
     prop_array_set_int8(prop_array_t dict, unsigned int indx, int8_t val);

     bool
     prop_array_set_uint8(prop_array_t dict, unsigned int indx, uint8_t val);

     bool
     prop_array_get_int16(prop_array_t dict, unsigned int indx,
	 int16_t *valp);

     bool
     prop_array_get_uint16(prop_array_t dict, unsigned int indx,
	 uint16_t *valp);

     bool
     prop_array_set_int16(prop_array_t dict, unsigned int indx, int16_t val);

     bool
     prop_array_set_uint16(prop_array_t dict, unsigned int indx,
	 uint16_t val);

     bool
     prop_array_get_int32(prop_array_t dict, unsigned int indx,
	 int32_t *valp);

     bool
     prop_array_get_uint32(prop_array_t dict, unsigned int indx,
	 uint32_t *valp);

     bool
     prop_array_set_int32(prop_array_t dict, unsigned int indx, int32_t val);

     bool
     prop_array_set_uint32(prop_array_t dict, unsigned int indx,
	 uint32_t val);

     bool
     prop_array_get_int64(prop_array_t dict, unsigned int indx,
	 int64_t *valp);

     bool
     prop_array_get_uint64(prop_array_t dict, unsigned int indx,
	 uint64_t *valp);

     bool
     prop_array_set_int64(prop_array_t dict, unsigned int indx, int64_t val);

     bool
     prop_array_set_uint64(prop_array_t dict, unsigned int indx,
	 uint64_t val);

     bool
     prop_array_set_int32(prop_array_t dict, unsigned int indx, int32_t val);

     bool
     prop_array_set_uint32(prop_array_t dict, unsigned int indx,
	 uint32_t val);

     bool
     prop_array_add_int8(prop_array_t dict, int8_t val);

     bool
     prop_array_add_uint8(prop_array_t dict, uint8_t val);

     bool
     prop_array_add_int16(prop_array_t dict, int16_t val);

     bool
     prop_array_add_uint16(prop_array_t dict, uint16_t val);

     bool
     prop_array_add_int32(prop_array_t dict, int32_t val);

     bool
     prop_array_add_uint32(prop_array_t dict, uint32_t val);

     bool
     prop_array_add_int64(prop_array_t dict, int64_t val);

     bool
     prop_array_add_uint64(prop_array_t dict, uint64_t val);

     bool
     prop_array_get_cstring(prop_array_t dict, unsigned int indx,
	 char **strp);

     bool
     prop_array_set_cstring(prop_array_t dict, unsigned int indx,
	 const char *str);

     bool
     prop_array_get_cstring_nocopy(prop_array_t dict, unsigned int indx,
	 const char **strp);

     bool
     prop_array_set_cstring_nocopy(prop_array_t dict, unsigned int indx,
	 const char *strp);

DESCRIPTION
     The prop_array_util family of functions are provided to make getting and
     setting values in arrays more convenient in some applications.

     The getters check the type of the returned object and, in some cases,
     also ensure that the returned value is within the range implied by the
     getter's value type.

     The setters handle object creation and release for the caller.

     The prop_array_get_cstring() function returns dynamically allocated mem‐
     ory.  See prop_string(3) for more information.

     The prop_array_get_cstring_nocopy() and prop_array_set_cstring_nocopy()
     functions do not copy the string that is set or returned.	See
     prop_string(3) for more information.

RETURN VALUES
     The prop_array_util getter functions return true if the object exists in
     the array and the value is in-range, or false otherwise.

     The prop_array_util setter functions return true if creating the object
     and storing it in the array is successful, or false otherwise.

SEE ALSO
     prop_array(3), prop_bool(3), prop_number(3), proplib(3)

HISTORY
     The proplib property container object library first appeared in
     NetBSD 4.0.

BSD				 June 2, 2008				   BSD
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net