NAME
SYNOPSIS
#include <sys/acl.h>
acl_t acl_dup( acl_t acl);
DESCRIPTION
RETURN VALUES
ERRORS

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

ENOMEM allocation of the struct acl failed.