28 lines
842 B
C
28 lines
842 B
C
|
// Copyright (c) 2025, Zak Fenton
|
||
|
// Zak Fenton's libc is licensed under the Mulan PSL v2. You can use this
|
||
|
// software according to the terms and conditions of the Mulan PSL v2.
|
||
|
// You may obtain a copy of Mulan PSL v2 at:
|
||
|
// http://license.coscl.org.cn/MulanPSL2
|
||
|
// THIS SOFTWARE IS PROVIDED ON AN “AS IS” BASIS, WITHOUT warranties of
|
||
|
// any kind, either express or implied, including but not limited to
|
||
|
// non-infringement, merchantability or fit for a particular purpose.
|
||
|
// See the Mulan PSL v2 for more details.
|
||
|
|
||
|
#ifndef _LIBC_CTYPE_H
|
||
|
#define _LIBC_CTYPE_H
|
||
|
|
||
|
int isspace(int ch);
|
||
|
int isdigit(int ch);
|
||
|
int isxdigit(int ch);
|
||
|
int isalpha(int ch);
|
||
|
int isalnum(int ch);
|
||
|
int isprint(int ch);
|
||
|
int ispunct(int ch);
|
||
|
int isupper(int ch);
|
||
|
int islower(int ch);
|
||
|
int toupper(int ch);
|
||
|
int tolower(int ch);
|
||
|
|
||
|
/* From ifndef at top of file: */
|
||
|
#endif
|