mac_dup(3C)
mac_dup - produce a duplicate copy of a MAC label
Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.
NAME mac_dup - produce a duplicate copy of a MAC label SYNOPSIS #include <sys/mac_label.h> mac_label *mac_dup (mac_label *lp); DESCRIPTION mac_dup duplicates the MAC label pointed to by the input argument lp and returns a pointer to the newly allocated copy. RETURN VALUE mac_dup returns NULL if lp points to an invalid label or memory could not be obtained for the new label by a call to malloc(3). SEE ALSO mac_to_text(3C) mac_from_text(3C) NOTE This is a non-POSIX interface, and will not be supported in future releases of Trusted IRIX.