annotate lib/exit.h @ 7292:17785d5bede0

Fix docstrings
author Sergey Poznyakoff <gray@gnu.org.ua>
date Sun, 10 Sep 2006 11:52:44 +0000
parents 9f071f0e77be
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4201
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 /* exit() function.
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 Copyright (C) 1995, 2001 Free Software Foundation, Inc.
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 This program is free software; you can redistribute it and/or modify
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 it under the terms of the GNU General Public License as published by
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 the Free Software Foundation; either version 2, or (at your option)
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 any later version.
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 This program is distributed in the hope that it will be useful,
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 GNU General Public License for more details.
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 You should have received a copy of the GNU General Public License
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 along with this program; if not, write to the Free Software Foundation,
5848
a48fb0e98c8c *** empty log message ***
Paul Eggert <eggert@cs.ucla.edu>
parents: 4201
diff changeset
16 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
4201
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 #ifndef _EXIT_H
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 #define _EXIT_H
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 /* Get exit() declaration. */
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 #include <stdlib.h>
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23
6928
9f071f0e77be Obsoleting STDC_HEADERS. From Derek Price.
Bruno Haible <bruno@clisp.org>
parents: 5848
diff changeset
24 /* Some systems do not define EXIT_*, despite otherwise supporting C89. */
4201
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 #ifndef EXIT_SUCCESS
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 # define EXIT_SUCCESS 0
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 #endif
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 #ifndef EXIT_FAILURE
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29 # define EXIT_FAILURE 1
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30 #endif
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
31
bd8ff0653fc8 New module 'exit'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
32 #endif /* _EXIT_H */