Manual Pages for UNIX Darwin command on man acl_get_permset
MyWebUniversity

Manual Pages for UNIX Darwin command on man acl_get_permset

ACLGETPERMSET(3) BSD Library Functions Manual ACLGETPERMSET(3)

NAME

aaccllggeettppeerrmmsseett - retrieve permission set from an ACL entry

LLIIBBRRAARRYY

Standard C Library (libc, -lc)

SYNOPSIS

##iinncclluuddee <>

##iinncclluuddee <>

int aaccllggeettppeerrmmsseett(aclentryt entryd, aclpermsett *permsetp);

DESCRIPTION

The aaccllggeettppeerrmmsseett() function is a POSIX.1e call that returns via permsetp a descriptor to the permission set in the ACL entry entryd. Subsequent operations using the returned permission set operate on the permission set within the ACL entry.

RETURN VALUES

The aaccllggeettppeerrmmsseett() function returns the value 0 if successful; other-

wise the value -1 is returned and the global variable errno is set to

indicate the error. EERRRROORRSS The aaccllggeettppeerrmmsseett() function fails if: [EINVAL] Argument entryd is not a valid descriptor for an ACL entry.

SEE ALSO

acl(3), acladdperm(3), aclclearperms(3), acldeleteperm(3), aclsetpermset(3), posix1e(3) STANDARDS POSIX.1e is described in IEEE POSIX.1e draft 17. AUTHORS Michael Smith Chris D. Faulhaber BSD March 10, 2001 BSD




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™