Mercurial > emacs
annotate nt/inc/grp.h @ 112426:59f7ce1a78c6
* admin/notes/bzrmerge: Comment on skipped revisions.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 22 Jan 2011 11:44:38 -0800 |
parents | 376148b31b5e |
children |
rev | line source |
---|---|
53148 | 1 /* Replacement grp.h file for building GNU Emacs on Windows. |
112218
376148b31b5e
Add 2011 to FSF/AIST copyright years.
Glenn Morris <rgm@gnu.org>
parents:
100954
diff
changeset
|
2 |
376148b31b5e
Add 2011 to FSF/AIST copyright years.
Glenn Morris <rgm@gnu.org>
parents:
100954
diff
changeset
|
3 Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 |
376148b31b5e
Add 2011 to FSF/AIST copyright years.
Glenn Morris <rgm@gnu.org>
parents:
100954
diff
changeset
|
4 Free Software Foundation, Inc. |
53148 | 5 |
6 This file is part of GNU Emacs. | |
7 | |
94794
f108de597672
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79734
diff
changeset
|
8 GNU Emacs is free software: you can redistribute it and/or modify |
53148 | 9 it under the terms of the GNU General Public License as published by |
94794
f108de597672
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79734
diff
changeset
|
10 the Free Software Foundation, either version 3 of the License, or |
f108de597672
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79734
diff
changeset
|
11 (at your option) any later version. |
53148 | 12 |
13 GNU Emacs is distributed in the hope that it will be useful, | |
14 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 GNU General Public License for more details. | |
17 | |
18 You should have received a copy of the GNU General Public License | |
94794
f108de597672
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79734
diff
changeset
|
19 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
53148 | 20 |
21 #ifndef _GRP_H | |
22 #define _GRP_H | |
23 | |
24 #include <pwd.h> /* gid_t defined here */ | |
25 | |
26 /* Emacs uses only gr_name */ | |
27 struct group { | |
28 char *gr_name; /* group name */ | |
94798
ce626a29b20f
(struct group): Add gr_gid member.
Eli Zaretskii <eliz@gnu.org>
parents:
94794
diff
changeset
|
29 gid_t gr_gid; /* group numerical ID */ |
53148 | 30 }; |
31 | |
32 struct group *getgrgid(gid_t); | |
33 | |
34 #endif /* _GRP_H */ | |
53155 | 35 |