2023-05-26 22:21:07 +03:00
|
|
|
#ifndef _CTYPE_H
|
|
|
|
#define _CTYPE_H 1
|
|
|
|
|
|
|
|
// https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/ctype.h.html
|
2023-01-16 19:13:11 +02:00
|
|
|
|
|
|
|
#include <sys/cdefs.h>
|
|
|
|
|
2023-05-26 22:21:07 +03:00
|
|
|
#include <bits/types/locale_t.h>
|
|
|
|
|
2023-01-16 19:13:11 +02:00
|
|
|
__BEGIN_DECLS
|
|
|
|
|
|
|
|
int isalnum(int);
|
2023-05-26 22:21:07 +03:00
|
|
|
int isalnum_l(int, locale_t);
|
2023-01-16 19:13:11 +02:00
|
|
|
int isalpha(int);
|
2023-05-26 22:21:07 +03:00
|
|
|
int isalpha_l(int, locale_t);
|
2023-01-16 19:13:11 +02:00
|
|
|
int isascii(int);
|
|
|
|
int isblank(int);
|
2023-05-26 22:21:07 +03:00
|
|
|
int isblank_l(int, locale_t);
|
2023-01-16 19:13:11 +02:00
|
|
|
int iscntrl(int);
|
2023-05-26 22:21:07 +03:00
|
|
|
int iscntrl_l(int, locale_t);
|
2023-01-16 19:13:11 +02:00
|
|
|
int isdigit(int);
|
2023-05-26 22:21:07 +03:00
|
|
|
int isdigit_l(int, locale_t);
|
2023-01-16 19:13:11 +02:00
|
|
|
int isgraph(int);
|
2023-05-26 22:21:07 +03:00
|
|
|
int isgraph_l(int, locale_t);
|
2023-01-16 19:13:11 +02:00
|
|
|
int islower(int);
|
2023-05-26 22:21:07 +03:00
|
|
|
int islower_l(int, locale_t);
|
2023-01-16 19:13:11 +02:00
|
|
|
int isprint(int);
|
2023-05-26 22:21:07 +03:00
|
|
|
int isprint_l(int, locale_t);
|
2023-01-16 19:13:11 +02:00
|
|
|
int ispunct(int);
|
2023-05-26 22:21:07 +03:00
|
|
|
int ispunct_l(int, locale_t);
|
2023-01-16 19:13:11 +02:00
|
|
|
int isspace(int);
|
2023-05-26 22:21:07 +03:00
|
|
|
int isspace_l(int, locale_t);
|
2023-01-16 19:13:11 +02:00
|
|
|
int isupper(int);
|
2023-05-26 22:21:07 +03:00
|
|
|
int isupper_l(int, locale_t);
|
2023-01-16 19:13:11 +02:00
|
|
|
int isxdigit(int);
|
2023-05-26 22:21:07 +03:00
|
|
|
int isxdigit_l(int, locale_t);
|
|
|
|
int toascii(int);
|
2023-05-10 23:13:56 +03:00
|
|
|
int tolower(int);
|
2023-05-26 22:21:07 +03:00
|
|
|
int tolower_l(int, locale_t);
|
|
|
|
int toupper(int);
|
|
|
|
int toupper_l(int, locale_t);
|
|
|
|
|
|
|
|
#define _toupper(val) ::toupper(val)
|
|
|
|
#define _tolower(val) ::tolower(val)
|
|
|
|
|
|
|
|
__END_DECLS
|
2023-05-10 23:13:56 +03:00
|
|
|
|
2023-05-26 22:21:07 +03:00
|
|
|
#endif
|