|
Packit Service |
a2ae7a |
/* A substitute for ISO C99 <ctype.h>, for platforms on which it is incomplete.
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
Copyright (C) 2009-2019 Free Software Foundation, Inc.
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
This program is free software; you can redistribute it and/or modify
|
|
Packit Service |
a2ae7a |
it under the terms of the GNU Lesser General Public License as published by
|
|
Packit Service |
a2ae7a |
the Free Software Foundation; either version 2.1, or (at your option)
|
|
Packit Service |
a2ae7a |
any later version.
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
This program is distributed in the hope that it will be useful,
|
|
Packit Service |
a2ae7a |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
a2ae7a |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
a2ae7a |
GNU Lesser General Public License for more details.
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
You should have received a copy of the GNU Lesser General Public License
|
|
Packit Service |
a2ae7a |
along with this program; if not, see <https://www.gnu.org/licenses/>. */
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
/* Written by Bruno Haible. */
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
/*
|
|
Packit Service |
a2ae7a |
* ISO C 99 <ctype.h> for platforms on which it is incomplete.
|
|
Packit Service |
a2ae7a |
* <http://www.opengroup.org/onlinepubs/9699919799/basedefs/ctype.h.html>
|
|
Packit Service |
a2ae7a |
*/
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
#ifndef _@GUARD_PREFIX@_CTYPE_H
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
#if __GNUC__ >= 3
|
|
Packit Service |
a2ae7a |
@PRAGMA_SYSTEM_HEADER@
|
|
Packit Service |
a2ae7a |
#endif
|
|
Packit Service |
a2ae7a |
@PRAGMA_COLUMNS@
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
/* Include the original <ctype.h>. */
|
|
Packit Service |
a2ae7a |
/* The include_next requires a split double-inclusion guard. */
|
|
Packit Service |
a2ae7a |
#@INCLUDE_NEXT@ @NEXT_CTYPE_H@
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
#ifndef _@GUARD_PREFIX@_CTYPE_H
|
|
Packit Service |
a2ae7a |
#define _@GUARD_PREFIX@_CTYPE_H
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
/* The definition of _GL_WARN_ON_USE is copied here. */
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
/* Return non-zero if c is a blank, i.e. a space or tab character. */
|
|
Packit Service |
a2ae7a |
#if @GNULIB_ISBLANK@
|
|
Packit Service |
a2ae7a |
# if !@HAVE_ISBLANK@
|
|
Packit Service |
a2ae7a |
_GL_EXTERN_C int isblank (int c);
|
|
Packit Service |
a2ae7a |
# endif
|
|
Packit Service |
a2ae7a |
#elif defined GNULIB_POSIXCHECK
|
|
Packit Service |
a2ae7a |
# undef isblank
|
|
Packit Service |
a2ae7a |
# if HAVE_RAW_DECL_ISBLANK
|
|
Packit Service |
a2ae7a |
_GL_WARN_ON_USE (isblank, "isblank is unportable - "
|
|
Packit Service |
a2ae7a |
"use gnulib module isblank for portability");
|
|
Packit Service |
a2ae7a |
# endif
|
|
Packit Service |
a2ae7a |
#endif
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
#endif /* _@GUARD_PREFIX@_CTYPE_H */
|
|
Packit Service |
a2ae7a |
#endif /* _@GUARD_PREFIX@_CTYPE_H */
|