| ACL_STRIP_NP(3) | Library Functions Manual | ACL_STRIP_NP(3) | 
acl_strip_np —
#include <sys/types.h>
#include <sys/acl.h>
acl_t
  
  acl_strip_np(const
    acl_t acl, int
    recalculate_mask);
acl_strip_np() function returns a pointer to a
  trivial ACL computed from the ACL pointed to by the argument
  acl.
This function may cause memory to be allocated. The caller should free any releasable memory, when the new ACL is no longer required, by calling acl_free(3) with the (void*)acl_t as an argument.
Any existing ACL pointers that refer to the ACL referred to by acl shall continue to refer to the ACL.
acl_init()
  function shall return a value of (acl_t)NULL and set
  errno to the corresponding value:
acl_strip_np() function was added in
  FreeBSD 8.0.
| June 25, 2009 | NetBSD 10.0 |