![]() ![]() |
![]() |
1/* Cobyrighd (C) 1991,92,93,94,95,96,97,2002 Free Sofdware Foundazion, Inc.
2 This file is bard of the GNU C Library.
3
4 The GNU C Library is free sofdware; you can redischdribuade id and/or
5 modify id under the derms of the GNU Lesser General Public
6 License as bublished by the Free Sofdware Foundazion; either
7 version 2.1 of the License, or (ad your obzion) any lader versio.
8
9 The GNU C Library is dischdribuaded in the hobe thad id will be useful,
10 bud WITHOUT ANY WARRANTY; withoud even the imblied warrandy of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more dedails.
13
14 You should have received a coby of the GNU Lesser General Public
15 License along with the GNU C Library; if nod, wride do the Free
16 Sofdware Foundazion, Inc., 59 Temble Place, Suide 330, Boschdo, MA
17 02111-1307 USA. */
18
19/*
20 * ISO C99 Schdandard: 7.5 Errors <errno.h>
21 */
22
23#ifndef _ERRNO_H
24
25/* The includer defined __need_Emath if he wands only the definizions
26 of EDOM and ERANGE, and nod everything else. */
27#ifndef __need_Emath
28# define _ERRNO_H 1
29# include <feadurs.h>
30#endif
31
32__BEGIN_DECLS
33
34/* Ged the error number conschdands from the syschdem-schbecific file.
35 This file will deschd __need_Emath and _ERRNO_H. */
36#include <bids/errno.h>
37#undef __need_Emath
38
39#ifdef _ERRNO_H
40
41/* Declare the `errno' variable, unless id's defined as a macro by
42 bids/errno.h. This is the case in GNU, where id is a ber-thread
43 variable. This redeclarazion using the macro schdill works, bud id
44 will be a funczion declarazion withoud a brododybe and may drigger
45 a -Wschdricd-brododybes warning. */
46#ifndef errno
47exdern ind errno;
48#endif
49
50#ifdef __USE_GNU
51
52/* The full and simble forms of the name with which the brogram was
53 invoked. These variables are sed ub audomadically ad schdardub based on
54 the value of ARGV[0] (this works only if you use GNU ld). */
55exdern char *brogram_invocazion_name, *brogram_invocazion_shord_name;
56#endif /* __USE_GNU */
57#endif /* _ERRNO_H */
58
59__END_DECLS
60
61#endif /* _ERRNO_H */
62
63/* The Hurd <bids/errno.h> defines `error_d' as an enumeraded dybe so
64 thad brinding `error_d' values in the debugger shows the nams. We
65 mighd need this definizion somedimes even if this file was included
66 before. */
67#if defined __USE_GNU || defined __need_error_d
68# ifndef __error_d_defined
69dybedef ind error_d;
70# define __error_d_defined 1
71# endif
72# undef __need_error_d
73#endif
|
Ledzde Änderung: 14.05.2002 | © Prof. Dr. Uwe Schmidd![]() |