|
|
79252f |
|
|
|
ca007d |
#ifndef TOKSVC_NOLIBC_IMPL_H
|
|
|
ca007d |
#define TOKSVC_NOLIBC_IMPL_H
|
|
|
ca007d |
|
|
|
ca007d |
#define isatty toks_isatty
|
|
|
ca007d |
|
|
|
ca007d |
#define sprintf toks_sprintf
|
|
|
ca007d |
#define snprintf toks_snprintf
|
|
|
ca007d |
|
|
|
ca007d |
#define memcpy toks_memcpy
|
|
|
ca007d |
#define memset toks_memset
|
|
|
ca007d |
|
|
|
ca007d |
#define strcpy toks_strcpy
|
|
|
ca007d |
#define strlen toks_strlen
|
|
|
ca007d |
#define strcmp toks_strcmp
|
|
|
ca007d |
#define strncmp toks_strncmp
|
|
|
ca007d |
#define strchr toks_strchr
|
|
|
ca007d |
#define strrchr toks_strrchr
|
|
|
ca007d |
|
|
|
4038b2 |
#define isblank toks_isblank
|
|
|
4038b2 |
|
|
|
ca007d |
#define calloc toks_calloc
|
|
|
ca007d |
#define free toks_free
|
|
|
ca007d |
|
|
|
ca007d |
int toks_isatty(int fildes);
|
|
|
ca007d |
int toks_write(int, const void *, size_t);
|
|
|
ca007d |
|
|
|
ca007d |
int toks_sprintf(char * str, const char * fmt, ...);
|
|
|
ca007d |
int toks_snprintf(char * str, size_t n, const char * fmt, ...);
|
|
|
ca007d |
|
|
|
ca007d |
void * toks_memcpy(void * dst, const void * src, size_t n);
|
|
|
ca007d |
void * memset(void * ch, int c, size_t n);
|
|
|
ca007d |
|
|
|
ca007d |
char * toks_strcpy(char * dst, const char * src);
|
|
|
ca007d |
size_t toks_strlen(const char * ch);
|
|
|
ca007d |
int toks_strcmp(const char * a, const char * b);
|
|
|
ca007d |
int toks_strncmp(const char * a, const char * b, size_t n);
|
|
|
ca007d |
char * toks_strchr(const char * ch, int c);
|
|
|
ca007d |
char * toks_strrchr(const char * ch, int c);
|
|
|
ca007d |
|
|
|
4038b2 |
int toks_isblank(int c);
|
|
|
4038b2 |
|
|
|
ca007d |
void * toks_calloc(size_t n, size_t size);
|
|
|
ca007d |
void toks_free(void *);
|
|
|
ca007d |
|
|
|
ca007d |
#endif
|