sstore_alloc, sstore_free - allocates and frees a handle to libsstore
cc [ flag... ] file... -lsstore [ library... ] #include <libsstore.h> sstore_handle_t sstore_alloc(void); void sstore_free(sstore_handle_t hdl);
Handle to libsstore
allocates a handle to the libsstore.
frees the handle to the libsstore.
Upon successful completion, sstore_alloc() returns sstore_handle_t. Otherwise, it returns NULL.
The sstore_alloc() function fails if:
There is insufficient memory.
See attributes(7) for descriptions of the following attributes:
|
perror(3C), libsstore(3LIB), sstore_err_action(3SSTORE), attributes(7)