annotate lib/getugroups.h @ 9309:bbbbbf4cd1c5

Change copyright notice from GPLv2+ to GPLv3+.
author Bruno Haible <bruno@clisp.org>
date Sun, 07 Oct 2007 19:14:58 +0200
parents c69012fcd861
children 39be377f1765
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9043
c69012fcd861 * lib/getugroups.h: New file.
Jim Meyering <jim@meyering.net>
parents:
diff changeset
1 /* Get a list of group IDs associated with a specified user ID.
c69012fcd861 * lib/getugroups.h: New file.
Jim Meyering <jim@meyering.net>
parents:
diff changeset
2 Copyright (C) 2007 Free Software Foundation, Inc.
c69012fcd861 * lib/getugroups.h: New file.
Jim Meyering <jim@meyering.net>
parents:
diff changeset
3
9309
bbbbbf4cd1c5 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents: 9043
diff changeset
4 This program is free software: you can redistribute it and/or modify
9043
c69012fcd861 * lib/getugroups.h: New file.
Jim Meyering <jim@meyering.net>
parents:
diff changeset
5 it under the terms of the GNU General Public License as published by
9309
bbbbbf4cd1c5 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents: 9043
diff changeset
6 the Free Software Foundation; either version 3 of the License, or
bbbbbf4cd1c5 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents: 9043
diff changeset
7 (at your option) any later version.
9043
c69012fcd861 * lib/getugroups.h: New file.
Jim Meyering <jim@meyering.net>
parents:
diff changeset
8
c69012fcd861 * lib/getugroups.h: New file.
Jim Meyering <jim@meyering.net>
parents:
diff changeset
9 This program is distributed in the hope that it will be useful,
c69012fcd861 * lib/getugroups.h: New file.
Jim Meyering <jim@meyering.net>
parents:
diff changeset
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
c69012fcd861 * lib/getugroups.h: New file.
Jim Meyering <jim@meyering.net>
parents:
diff changeset
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c69012fcd861 * lib/getugroups.h: New file.
Jim Meyering <jim@meyering.net>
parents:
diff changeset
12 GNU General Public License for more details.
c69012fcd861 * lib/getugroups.h: New file.
Jim Meyering <jim@meyering.net>
parents:
diff changeset
13
c69012fcd861 * lib/getugroups.h: New file.
Jim Meyering <jim@meyering.net>
parents:
diff changeset
14 You should have received a copy of the GNU General Public License
9309
bbbbbf4cd1c5 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents: 9043
diff changeset
15 along with this program. If not, see <http://www.gnu.org/licenses/>. */
9043
c69012fcd861 * lib/getugroups.h: New file.
Jim Meyering <jim@meyering.net>
parents:
diff changeset
16
c69012fcd861 * lib/getugroups.h: New file.
Jim Meyering <jim@meyering.net>
parents:
diff changeset
17 #include <sys/types.h>
c69012fcd861 * lib/getugroups.h: New file.
Jim Meyering <jim@meyering.net>
parents:
diff changeset
18 int getugroups (int maxcount, GETGROUPS_T *grouplist, char const *username,
c69012fcd861 * lib/getugroups.h: New file.
Jim Meyering <jim@meyering.net>
parents:
diff changeset
19 gid_t gid);