Commit | Line | Data |
---|---|---|
80586d89 | 1 | /* Replacement grp.h file for building GNU Emacs on Windows. |
5df4f04c | 2 | |
73b0cd50 | 3 | Copyright (C) 2003-2011 |
5df4f04c | 4 | Free Software Foundation, Inc. |
80586d89 LH |
5 | |
6 | This file is part of GNU Emacs. | |
7 | ||
eef0be9e | 8 | GNU Emacs is free software: you can redistribute it and/or modify |
80586d89 | 9 | it under the terms of the GNU General Public License as published by |
eef0be9e GM |
10 | the Free Software Foundation, either version 3 of the License, or |
11 | (at your option) any later version. | |
80586d89 LH |
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 | |
eef0be9e | 19 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
80586d89 LH |
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 */ | |
de56235e | 29 | gid_t gr_gid; /* group numerical ID */ |
80586d89 LH |
30 | }; |
31 | ||
32 | struct group *getgrgid(gid_t); | |
33 | ||
34 | #endif /* _GRP_H */ | |
def6201d | 35 |