XenevaOS
Loading...
Searching...
No Matches
clib.h
Go to the documentation of this file.
1
30#ifndef __CLIB_H__
31#define __CLIB_H__
32
33
34#include <cstdint>
35#include <cstddef>
36
37extern void memset(void* targ, uint8_t val, uint32_t len);
38extern void memcpy(void* targ, void* src, uint32_t len);
39extern wchar_t* wstrchr(wchar_t* s, int c);
40extern int wstrlen(wchar_t* s);
41extern uint32_t wstrsize(wchar_t* s);
42extern int to_upper(int c);
43extern int to_lower(int c);
44extern int is_digit(int c);
45extern char* sztoa(std::size_t value, char* str, int base);
46extern std::size_t strlen(const char* s);
47#endif
uint32_t wstrsize(wchar_t *s)
Definition clib.cpp:84
void memset(void *targ, uint8_t val, uint32_t len)
Definition clib.cpp:34
int to_lower(int c)
Definition clib.cpp:94
void memcpy(void *targ, void *src, uint32_t len)
Definition clib.cpp:58
wchar_t * wstrchr(wchar_t *s, int c)
Definition clib.cpp:66
char * sztoa(std::size_t value, char *str, int base)
Definition clib.cpp:107
int is_digit(int c)
Definition clib.cpp:100
int wstrlen(wchar_t *s)
Definition clib.cpp:77
std::size_t strlen(const char *s)
Definition utclib.c:379
int to_upper(int c)
Definition clib.cpp:88
unsigned int uint32_t
Definition acefiex.h:163
unsigned char uint8_t
Definition acefiex.h:161