diff options
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/ntux_nolibc_impl.c | 5 | ||||
-rw-r--r-- | src/internal/ntux_nolibc_impl.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/internal/ntux_nolibc_impl.c b/src/internal/ntux_nolibc_impl.c index e20d046..c414bc8 100644 --- a/src/internal/ntux_nolibc_impl.c +++ b/src/internal/ntux_nolibc_impl.c @@ -63,6 +63,11 @@ char * ntux_strrchr(const char * ch, int c) return 0; } +int ntux_isblank(int c) +{ + return ((c == 0x20) || (c == 0x09)); +} + #ifdef NTUX_EXPORT int __stdcall ntux_entry_point(void * hinstance, uint32_t reason, void * reserved) { diff --git a/src/internal/ntux_nolibc_impl.h b/src/internal/ntux_nolibc_impl.h index eac2631..f68d282 100644 --- a/src/internal/ntux_nolibc_impl.h +++ b/src/internal/ntux_nolibc_impl.h @@ -16,6 +16,8 @@ #define strchr ntux_strchr #define strrchr ntux_strrchr +#define isblank ntux_isblank + #define calloc ntux_calloc #define free ntux_free |