̾??
setgroups
—
???롼?ץ????????ꥹ?Ȥ????ꤹ??
Standard C Library (libc, -lc)
setgroups
()
?????ƥॳ?????ϡ????? gidset
?˽??äơ????ߤΥ桼???ץ??????Υ??롼?ץ????????ꥹ?Ȥ????ꤷ?ޤ???
ngroups
?????ϡ????????Υ????ȥ??ο?????
<sys/param.h>
?????????????Ƥ????? NGROUPS
??Ķ???ƤϤ????ޤ?????
?????ѥ桼?????????????????롼?פ??????Ǥ??ޤ???
The setgroups
() function returns the
value 0 if successful; otherwise the value -1 is returned and
the global variable errno is set to indicate the
error.
setgroups
()
?????ƥॳ?????ϼ??ξ????˽????˼??Ԥ??ޤ?:
- [
EPERM
]
- ?????ѥ桼???ʳ??Υ桼???ˤ??äƸƤӽФ????ޤ?????
- [
EINVAL
]
- ngroups ?????ǻ??ꤵ?줿???ͤ?
NGROUPS
?????¤??ۤ??Ƥ??ޤ???
- [
EFAULT
]
- gidset
?˻??ꤵ?줿???ɥ쥹?ϡ?
?ץ??????˳??????Ƥ??줿???ɥ쥹???֤??ϰϳ????ؤ??Ƥ??ޤ???
setgroups
() ?????ƥॳ??????
4.2BSD ???о줷?ޤ?????