libk.h (496B)
1 #ifndef _LIBK_H_ 2 #define _LIBK_H_ 3 4 #include <u.h> 5 6 #define BUFSIZ 1024 7 8 void *memset(void *, int, size_t); 9 void *memcpy(void *, const void *, size_t); 10 11 size_t strlen(const char *); 12 size_t strnlen(const char *, size_t); 13 size_t strlcpy(char *, const char *, size_t); 14 int strcmp(const char *, const char *); 15 int isdigit(char); 16 17 int vsprintf(char *, const char *, va_list); 18 int sprintf(char *, const char *, ...); 19 int printf(const char *, ...); 20 21 void panic(const char *, ...); 22 23 #endif /* _LIBK_H_ */