t6attr_alloc(3N)

t6attr_alloc - Allocate a control block with all attributes set

As shipped in IRIX 6.5.22. Last changed in IRIX 6.5.15.

NAME
     t6attr_alloc - Allocate a control block with all attributes set

SYNOPSIS
     cc [ flags ... ] file

     #include <sys/t6attrs.h>

     t6attr_t t6attr_alloc(void)

DESCRIPTION
     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).

RETURN VALUE
     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.

ERROR
     [ENOMEM]       t6attr_alloc could not allocate the requested attribute
                    block.

SEE ALSO
     libt6(3N), t6alloc_blk(3N), t6clear_blk(3N), t6dup_blk(3N),
     t6free_blk(3N).

SOURCE
     Trusted Systems Interoperability Group

NOTES