|
|
0efa8c |
#ifndef PTYCON_NOLIBC_IMPL_H
|
|
|
0efa8c |
#define PTYCON_NOLIBC_IMPL_H
|
|
|
0efa8c |
|
|
|
0efa8c |
#define isatty ptyc_isatty
|
|
|
0efa8c |
|
|
|
0efa8c |
#define sprintf ptyc_sprintf
|
|
|
0efa8c |
#define snprintf ptyc_snprintf
|
|
|
0efa8c |
|
|
|
0efa8c |
#define memcpy ptyc_memcpy
|
|
|
0efa8c |
#define memset ptyc_memset
|
|
|
0efa8c |
|
|
|
0efa8c |
#define strcpy ptyc_strcpy
|
|
|
0efa8c |
#define strlen ptyc_strlen
|
|
|
0efa8c |
#define strcmp ptyc_strcmp
|
|
|
0efa8c |
#define strncmp ptyc_strncmp
|
|
|
0efa8c |
#define strchr ptyc_strchr
|
|
|
0efa8c |
#define strrchr ptyc_strrchr
|
|
|
0efa8c |
|
|
|
0496f2 |
#define isblank ptyc_isblank
|
|
|
0496f2 |
|
|
|
0efa8c |
#define calloc ptyc_calloc
|
|
|
0efa8c |
#define free ptyc_free
|
|
|
0efa8c |
|
|
|
0efa8c |
int ptyc_isatty(int fildes);
|
|
|
af27df |
int ptyc_write(int, const void *, size_t);
|
|
|
0efa8c |
|
|
|
0efa8c |
int ptyc_sprintf(char * str, const char * fmt, ...);
|
|
|
0efa8c |
int ptyc_snprintf(char * str, size_t n, const char * fmt, ...);
|
|
|
0efa8c |
|
|
|
0efa8c |
void * ptyc_memcpy(void * dst, const void * src, size_t n);
|
|
|
0efa8c |
void * memset(void * ch, int c, size_t n);
|
|
|
0efa8c |
|
|
|
0efa8c |
char * ptyc_strcpy(char * dst, const char * src);
|
|
|
0efa8c |
size_t ptyc_strlen(const char * ch);
|
|
|
0efa8c |
int ptyc_strcmp(const char * a, const char * b);
|
|
|
0efa8c |
int ptyc_strncmp(const char * a, const char * b, size_t n);
|
|
|
0efa8c |
char * ptyc_strchr(const char * ch, int c);
|
|
|
0efa8c |
char * ptyc_strrchr(const char * ch, int c);
|
|
|
0efa8c |
|
|
|
0496f2 |
int ptyc_isblank(int c);
|
|
|
0496f2 |
|
|
|
0efa8c |
void * ptyc_calloc(size_t n, size_t size);
|
|
|
0efa8c |
void ptyc_free(void *);
|
|
|
0efa8c |
|
|
|
0efa8c |
#endif
|