MAC_DUP(3C)MAC_DUP(3C)NAMEmac_dup - produce a duplicate copy of a MAC label
SYNOPSIS
#include <sys/mac_label.h>
mac_label *mac_dup (mac_label *lp);
DESCRIPTIONmac_dup duplicates the MAC label pointed to by the input argument lp and
returns a pointer to the newly allocated copy.
RETURN VALUEmac_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 ALSOmac_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.
Page 1