acl_dup(3C)

acl_dup - make a copy of an ACL

Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.

NAME
     acl_dup - make a copy of an ACL

SYNOPSIS
     #include <sys/acl.h>

     acl_t acl_dup( acl_t acl);

DESCRIPTION
     Returns a pointer to an allocated ACL that is a copy of the ACL supplied
     as an argument.

RETURN VALUES
     Returns a pointer or null.

ERRORS
     EINVAL          aclp is null.

     ENOMEM          allocation of the struct acl failed.

SEE ALSO
     acl(4)