1 /* Copyright (C) 2006 Free Software Foundation, Inc.
2 Written by Derek Price & Paul Eggert.
3 This file is part of gnulib.
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as published by
7 the Free Software Foundation; either version 2.1, or (at your option)
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public License
16 along with this program; if not, write to the Free Software Foundation,
17 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
23 * A wrapper for the ISO C 99 <inttypes.h>.
24 * <http://www.opengroup.org/susv3xbd/inttypes.h.html>
26 * Currently, if the system <inttypes.h> is missing or not C99 compliant, then
27 * this header may only provide the required <stdint.h> (which may be the
28 * *almost* C99 compliant one from GNULIB) and prototypes for the strtoimax and
29 * strtoumax functions.
33 # if HAVE_INCLUDE_NEXT
34 # include_next <inttypes.h>
36 # include ABSOLUTE_INTTYPES_H
41 #if !HAVE_DECL_STRTOIMAX
42 intmax_t strtoimax (const char *, char **, int);
44 #if !HAVE_DECL_STRTOUMAX
45 uintmax_t strtoumax (const char *, char **, int);
48 #endif /* INTTYPES_H */