diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-07-11 22:48:30 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-07-11 22:48:30 +0800 |
| commit | 3ad39e9878310e5317ee73c9b353c1e2c1c5c4ee (patch) | |
| tree | 4bd5a49ef60ad1e371c0984cd46838368c5ef83a /lib/libc/include-after | |
| parent | 48ef95c24e9ac3d11200b61af617a01b10b507d1 (diff) | |
| download | lume-3ad39e9878310e5317ee73c9b353c1e2c1c5c4ee.tar.gz lume-3ad39e9878310e5317ee73c9b353c1e2c1c5c4ee.tar.xz | |
lib: establish Zircon libc++ and KTL foundation
Diffstat (limited to 'lib/libc/include-after')
| -rw-r--r-- | lib/libc/include-after/ctype.h | 33 | ||||
| -rw-r--r-- | lib/libc/include-after/limits.h | 7 |
2 files changed, 40 insertions, 0 deletions
diff --git a/lib/libc/include-after/ctype.h b/lib/libc/include-after/ctype.h new file mode 100644 index 0000000..ff2fcfe --- /dev/null +++ b/lib/libc/include-after/ctype.h @@ -0,0 +1,33 @@ +// Copyright 2016 The Fuchsia Authors +// Copyright (c) 2008 Travis Geiselbrecht +// +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file or at +// https://opensource.org/licenses/MIT + +#ifndef ZIRCON_KERNEL_LIB_LIBC_INCLUDE_CTYPE_H_ +#define ZIRCON_KERNEL_LIB_LIBC_INCLUDE_CTYPE_H_ + +#include <zircon/compiler.h> + +__BEGIN_CDECLS + +int isalnum(int c); +int isalpha(int c); +int isblank(int c); +int iscntrl(int c); +int isdigit(int c); +int isgraph(int c); +int islower(int c); +int isprint(int c); +int ispunct(int c); +int isspace(int c); +int isupper(int c); +int isxdigit(int c); + +int tolower(int c); +int toupper(int c); + +__END_CDECLS + +#endif // ZIRCON_KERNEL_LIB_LIBC_INCLUDE_CTYPE_H_ diff --git a/lib/libc/include-after/limits.h b/lib/libc/include-after/limits.h new file mode 100644 index 0000000..f946def --- /dev/null +++ b/lib/libc/include-after/limits.h @@ -0,0 +1,7 @@ +// Copyright 2020 The Fuchsia Authors +// +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file or at +// https://opensource.org/licenses/MIT + +// Empty file for toolchain's #include_next <limits.h> to find. |
