MAC_DUP(3C)                                                        MAC_DUP(3C)


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.


                                                                        Page 1