annotate nt/inc/grp.h @ 53148:372938ed2ab4

New file.
author Lars Hansen <larsh@soem.dk>
date Mon, 24 Nov 2003 09:28:49 +0000
parents
children 384390a9b30f
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.
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
2 Copyright (C) 2003 Free Software Foundation, Inc.
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
3
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
4 This file is part of GNU Emacs.
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
5
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
6 GNU Emacs is free software; you can redistribute it and/or modify
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
8 the Free Software Foundation; either version 2, or (at your option)
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
9 any later version.
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
10
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful,
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
14 GNU General Public License for more details.
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
15
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
17 along with GNU Emacs; see the file COPYING. If not, write to
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
19 Boston, MA 02111-1307, USA. */
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 */
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
29 };
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
30
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
31 struct group *getgrgid(gid_t);
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
32
372938ed2ab4 New file.
Lars Hansen <larsh@soem.dk>
parents:
diff changeset
33 #endif /* _GRP_H */