annotate mac/inc/grp.h @ 83361:39de99cd3f08

Prevent resource allocation explosion when C-x 5 2 is used on xterms. * lisp/term/xterm.el (terminal-init-xterm): Protect function-key-map against multiple invocations on the same terminal. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-401
author Karoly Lorentey <lorentey@elte.hu>
date Wed, 07 Sep 2005 23:17:07 +0000
parents 3723093a21fd
children 067115a6e738 2d92f5c9d6ae
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 the Macintosh.
64890
3723093a21fd Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64083
diff changeset
2 Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
53148
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
64083
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 53155
diff changeset
18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 53155
diff changeset
19 Boston, MA 02110-1301, USA. */
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 <sys/types.h>
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 */
53155
384390a9b30f Add arch taglines
Miles Bader <miles@gnu.org>
parents: 53148
diff changeset
34
384390a9b30f Add arch taglines
Miles Bader <miles@gnu.org>
parents: 53148
diff changeset
35 /* arch-tag: 3b1d3315-05d5-4c7a-8404-3754bb40020c
384390a9b30f Add arch taglines
Miles Bader <miles@gnu.org>
parents: 53148
diff changeset
36 (do not change this comment) */