ACLSETFLAGSET(3) BSD Library Functions Manual ACLSETFLAGSET(3)
NAME
aclsetflagset -- set the flags of an ACL or ACL entry
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
##include <>
##include <>
int
aclsetflagset(void *obj, aclflagsett flagsetd);
DESCRIPTION
The aclsetflagset() function is a nonstandard extension that sets the
permissions of the ACL or ACL entry obj with the flags contained in
flagsetd.
RETURN VALUES
The aclsetflagset() 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 aclsetflagset() function fails if:
[EINVAL] Argument obj is not a valid descriptor for an ACL or
ACL entry. Argument flagsetd is not a valid flagset
for obj.
SEE ALSO
acl(3), acladdflag(3), aclclearflags(3), acldeleteflag(3),
aclgetflagset(3),
AUTHORS
Michael Smith
Chris D. Faulhaber
BSD March 10, 2001 BSD
|