.\" Hey Emacs! This file is -*- nroff -*- source. .\" .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu) .\" .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" .\" Modified Thu Oct 31 12:04:29 1996 by Eric S. Raymond .TH GETGROUPS 2 "10 December 1997" "Linux 2.0.32" "Linux Programmeurs Handleiding" .SH NAAM getgroups, setgroups \- krijg/zet een lijst van aanvullende groep ID's .SH OVERZICHT .B #include .sp .BI "int getgroups(int " maat ", gid_t " lijst []); .sp 2 .B #define _BSD_SOURCE .br .B #include .sp .BI "int setgroups(size_t " maat ", const gid_t *" lijst ); .SH BESCHRIJVING .TP .B getgroups Tot .I maat aanvullende groepen worden teruggegeven in .IR lijst . Als .I maat nul is dan wordt, .I lijst niet veranderd, maar het gehele aantal van aanvullende groepen voor het proces wordt teruggegeven. .TP .B setgroups Zet de aanvullende groepen voor een proces. Alleen de super-gebruiker mag deze functie gebruiken. .SH "TERUGGEEF WAARDE" .TP .B getgroups Bij success wordt het aantal aanvullende groep ID's teruggegeven. Bij falen wordt \-1 teruggegeven, en .I errno wordt naar behoren gezet. .TP .B setgroups Bij success wordt nul teruggegeven. Bij falen wordt \-1 teruggegeven, en wordt .I errno naar behoren gezet. .SH FOUTEN .TP .B EFAULT {fout} .I lijst heeft een ongeldig adres. .TP .B EPERM {toestemming} Voor .BR setgroups , de gebruiker is niet de supergebruiker. .TP .B EINVAL {ongeldig} Voor .BR setgroups , .I maat groter dan .B NGROUPS {aantal groepen} (32 voor Linux 2.0.32). Voor .BR getgroups , .I maat is kleiner dan het aantal aanvullende groep ID's, maar is niet nul. .SH "VOLDOET AAN" SVr4, SVID (uitgave 4 alleen; deze aanroepen waren niet aanwezig in SVr3), X/OPEN, 4.3BSD. De .B getgroups functie is in POSIX.1. Omdat .B setgroups privileges eist bevat POSIX.1 het niet. .SH BUGS De .B _BSD_SOURCE {BSD broncode} vlag zou waarschijnlijk niet vereist moeten zijn voor .BR setgroups . .SH "ZIE" .BR initgroups "(3) {begin groepen}," .BR getgid "(2) {krijg gid}," .BR setgid "(2) {zet gid}" .\" Translated Mon Nov 13 15:04:42 CET 2000 by Jos Boersema .\" .SH VERTALING Dit is een handleiding uit \fBmanpages-dev 1.29\fR. Alles wat tussen `\fB{\fR'..`\fB}\fR' staat is \fBaanvullende vertaling\fR, en hoort \fBniet\fR bij de originele handleiding. Email naar . .\"Vertaling Jos Boersema $Id: getgroups.2,v 1.1 2003/04/28 18:43:34 bokkie Exp $