FENIX_libc/include/ctype.h
2020-12-01 17:40:03 -06:00

47 lines
952 B
C

#ifndef _CTYPE_H
#define _CTYPE_H
#include <types/locale_t.h>
/* C standard functions */
int isalnum(int);
int isalpha(int);
int isblank(int);
int iscntrl(int);
int isdigit(int);
int isgraph(int);
int islower(int);
int isprint(int);
int ispunct(int);
int isspace(int);
int isupper(int);
int isxdigit(int);
/* POSIX extensions */
int isalnum_l(int, locale_t);
int isalpha_l(int, locale_t);
int isblank_l(int, locale_t);
int iscntrl_l(int, locale_t);
int isdigit_l(int, locale_t);
int isgraph_l(int, locale_t);
int islower_l(int, locale_t);
int isprint_l(int, locale_t);
int ispunct_l(int, locale_t);
int isspace_l(int, locale_t);
int isupper_l(int, locale_t);
int isxdigit_l(int, locale_t);
/* C standard stuff */
int toascii(int);
int tolower(int);
int toupper(int);
/* POSIX extensions */
int tolower_l(int, locale_t);
int toupper_l(int, locale_t);
/* Obsolete XSI macros */
#define _toupper(x) toupper(x)
#define _tolower(x) tolower(x)
#endif