banan-os/libc/include/ctype.h

49 lines
991 B
C

#ifndef _CTYPE_H
#define _CTYPE_H 1
// https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/ctype.h.html
#include <sys/cdefs.h>
#include <bits/types/locale_t.h>
__BEGIN_DECLS
int isalnum(int);
int isalnum_l(int, locale_t);
int isalpha(int);
int isalpha_l(int, locale_t);
int isascii(int);
int isblank(int);
int isblank_l(int, locale_t);
int iscntrl(int);
int iscntrl_l(int, locale_t);
int isdigit(int);
int isdigit_l(int, locale_t);
int isgraph(int);
int isgraph_l(int, locale_t);
int islower(int);
int islower_l(int, locale_t);
int isprint(int);
int isprint_l(int, locale_t);
int ispunct(int);
int ispunct_l(int, locale_t);
int isspace(int);
int isspace_l(int, locale_t);
int isupper(int);
int isupper_l(int, locale_t);
int isxdigit(int);
int isxdigit_l(int, locale_t);
int toascii(int);
int tolower(int);
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
#endif