MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
ACLSETPERMSET(3)       BSD Library Functions Manual       ACLSETPERMSET(3)

NAME
     aclsetpermset -- set the permissions of an ACL entry

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     ##include <>
     ##include <>

     int
     aclsetpermset(aclentryt entryd, aclpermsett permsetd);

DESCRIPTION
     The aclsetpermset() function is a POSIX.1e call that sets the permis-
     sions of ACL entry entryd with the permissions contained in permsetd.

RETURN VALUES
     The aclsetpermset() 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.

ERORS
     The aclsetpermset() 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),
     aclgetpermset(3), posix1e(3)

STANDARDS
     POSIX.1e is described in IE POSIX.1e draft 17.

AUTHORS
     Michael Smith
     Chris D. Faulhaber

BSD                             March 10, 2001                             BSD
Darwin Mac OS X man pages main menu

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