Manual Pages for UNIX Darwin command on man acl_get_perm_np
MyWebUniversity

Manual Pages for UNIX Darwin command on man acl_get_perm_np

ACLGETPERMNP(3) BSD Library Functions Manual ACLGETPERMNP(3)

NAME

aaccllggeettppeerrmmnnpp - check if a permission is set in a permission set

LLIIBBRRAARRYY

Standard C Library (libc, -lc)

SYNOPSIS

##iinncclluuddee <>

##iinncclluuddee <>

int aaccllggeettppeerrmmnnpp(aclpermsett permsetd, aclpermt perm);

DESCRIPTION

The aaccllggeettppeerrmmnnpp() function is a non-portable function that checks if

a permission is set in a permission set.

RETURN VALUES

If the permission in perm is set in the permission set permsetd, a value of 1 is returned, otherwise a value of 0 is returned. EERRRROORRSS If any of the following conditions occur, the aaccllggeettppeerrmmnnpp() function

will return a value of -1 and set global variable errno to the corre-

sponding value: [EINVAL] Argument perm does not contain a valid ACL permission or argument permsetd is not a valid ACL permset.

SEE ALSO

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




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