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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
53148
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
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
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
5
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
6 This file is part of GNU Emacs.
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
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
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
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
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
12
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
13 GNU Emacs is distributed in the hope that it will be useful,
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
16 GNU General Public License for more details.
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
17
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
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
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
20
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
21 #ifndef _GRP_H
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
22 #define _GRP_H
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
23
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
24 #include <pwd.h> /* gid_t defined here */
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
25
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
26 /* Emacs uses only gr_name */
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
27 struct group {
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
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
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
30 };
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
31
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
32 struct group *getgrgid(gid_t);
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
33
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
34 #endif /* _GRP_H */
53155
384390a9b30f Add arch taglines
Miles Bader <miles@gnu.org>
parents: 53148
diff changeset
35