/uspace/trunk/libc/include/string.h |
---|
32,9 → 32,15 |
#include <types.h> |
#define bzero(ptr, len) memset((ptr), 0, (len)) |
void * memset(void *s, int c, size_t n); |
void * memcpy(void *dest, void *src, size_t n); |
size_t strlen(const char *str); |
int strcmp(const char *str1, const char *str2); |
char *strchr(const char *str, int c); |
char *strrchr(const char *str, int c); |
unsigned long strtol(const char *nptr, char **endptr, int base); |
#endif |
/uspace/trunk/libc/include/stdlib.h |
---|
33,5 → 33,6 |
#include <malloc.h> |
#define abort() _exit(1) |
#define exit(status) _exit((status)) |
#endif |
/uspace/trunk/libc/include/stdio.h |
---|
35,6 → 35,7 |
#define EOF (-1) |
extern int puts(const char * str); |
extern int putchar(int c); |
extern int printf(const char *fmt, ...); |
extern int sprintf(char *str, const char *fmt, ...); |