2012-09-28 22:36:46 +00:00
|
|
|
/*******************************************************************************
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
|
2014-04-02 15:56:48 +00:00
|
|
|
Copyright(C) Jonas 'Sortie' Termansen 2011, 2014.
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
|
2013-07-10 13:26:01 +00:00
|
|
|
This file is part of the Sortix C Library.
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
|
2013-07-10 13:26:01 +00:00
|
|
|
The Sortix C Library is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU Lesser General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or (at your
|
|
|
|
option) any later version.
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
|
2013-07-10 13:26:01 +00:00
|
|
|
The Sortix C Library is distributed in the hope that it will be useful, but
|
|
|
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
|
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
|
|
|
License for more details.
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
|
2013-07-10 13:26:01 +00:00
|
|
|
You should have received a copy of the GNU Lesser General Public License
|
|
|
|
along with the Sortix C Library. If not, see <http://www.gnu.org/licenses/>.
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
|
2013-07-10 13:26:01 +00:00
|
|
|
ctype.h
|
|
|
|
Character types.
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
|
2012-09-28 22:36:46 +00:00
|
|
|
*******************************************************************************/
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
|
2014-04-02 15:56:48 +00:00
|
|
|
#ifndef INCLUDE_CTYPE_H
|
|
|
|
#define INCLUDE_CTYPE_H
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
|
2013-10-13 11:04:27 +00:00
|
|
|
#include <sys/cdefs.h>
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
|
|
|
|
__BEGIN_DECLS
|
|
|
|
|
2014-04-02 15:56:48 +00:00
|
|
|
#ifndef __locale_t_defined
|
|
|
|
#define __locale_t_defined
|
|
|
|
/* TODO: figure out what this does and typedef it properly. This is just a
|
|
|
|
temporary assignment. */
|
|
|
|
typedef int __locale_t;
|
|
|
|
typedef __locale_t locale_t;
|
|
|
|
#endif
|
|
|
|
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
int isalnum(int c);
|
2014-04-02 15:56:48 +00:00
|
|
|
/* TODO: isalnum_l */
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
int isalpha(int c);
|
2014-04-02 15:56:48 +00:00
|
|
|
/* TODO: isalpha_l */
|
|
|
|
int isascii(int c);
|
|
|
|
/* TODO: isascii_l */
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
int isblank(int c);
|
2014-04-02 15:56:48 +00:00
|
|
|
/* TODO: isblank_l */
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
int iscntrl(int c);
|
2014-04-02 15:56:48 +00:00
|
|
|
/* TODO: iscntrl_l */
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
int isdigit(int c);
|
2014-04-02 15:56:48 +00:00
|
|
|
/* TODO: isdigit_l */
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
int isgraph(int c);
|
2014-04-02 15:56:48 +00:00
|
|
|
/* TODO: isgraph_l */
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
int islower(int c);
|
2014-04-02 15:56:48 +00:00
|
|
|
/* TODO: islower_l */
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
int isprint(int c);
|
2014-04-02 15:56:48 +00:00
|
|
|
/* TODO: isprint_l */
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
int ispunct(int c);
|
2014-04-02 15:56:48 +00:00
|
|
|
/* TODO: ispunct_l */
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
int isspace(int c);
|
2014-04-02 15:56:48 +00:00
|
|
|
/* TODO: isspace_l */
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
int isupper(int c);
|
2014-04-02 15:56:48 +00:00
|
|
|
/* TODO: isupper_l */
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
int isxdigit(int c);
|
2014-04-02 15:56:48 +00:00
|
|
|
/* TODO: isxdigit_l */
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
int tolower(int c);
|
2014-04-02 15:56:48 +00:00
|
|
|
/* TODO: tolower_l */
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
int toupper(int c);
|
2014-04-02 15:56:48 +00:00
|
|
|
/* TODO: toupper_l */
|
Added isalnum(3), isalpha(3), isblank(3), iscntrl(3), isdigit(3),
isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3),
isxdigit(3), tolower(3), and toupper(3).
2012-01-08 14:35:35 +00:00
|
|
|
|
|
|
|
__END_DECLS
|
|
|
|
|
|
|
|
#endif
|