MyWebUniversity.com Home Page
 



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

NAME
     acladdflagnp -- add flags to an flag set

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     ##include <>
     ##include <>

     int
     acladdflagnp(aclflagsett flagsetd, aclflagt flag);

DESCRIPTION
     The acladdflagnp() function is a nonstandard extension that adds the
     flag contained in flag to the flag set flagsetd.

     Note: it is not considered an error to attempt to add flags that already
     exist in the flag set.

RETURN VALUES
     The acladdflagsnp() 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 acladdflagsnp() function fails if:

     [EINVAL]           Argument flagsetd is not a valid descriptor for a
                        flag set.  Argument flag does not contain an
                        aclflagt value valid for the flagset flagsetd.

SEE ALSO
     acl(3), aclclearentryflagsetnp(3), acldeleteentryflagnp(3),
     aclgetentryflagsetnp(3), aclsetentrypermsetnp(3), posix1e(3)

AUTHORS
     Michael Smith
     Chris D Fulhaber

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 ™