t6attr_alloc(3N) t6attr_alloc(3N)
t6attr_alloc - Allocate a control block with all attributes set
cc [ flags ... ] file
#include <sys/t6attrs.h>
t6attr_t t6attr_alloc(void)
t6attr_alloc allocates a control block and set all of the mask attributes
defined by the TSIX(RE) 1.1 SAMP specification.
Also note that t6attr_alloc(void) is equivalent to
t6alloc_blk(T6M_ALL_ATTRS).
NULL is returned and errno is set to an appropriate value, if
t6attr_alloc is unable to allocate sufficient memory for the attribute
block. Otherwise it returns the pointer to the new control block.
[ENOMEM] t6attr_alloc could not allocate the requested attribute
block.
libt6(3N), t6alloc_blk(3N), t6clear_blk(3N), t6dup_blk(3N),
t6free_blk(3N).
Trusted Systems Interoperability Group
PPPPaaaaggggeeee 1111 [ Back ]
|