Espresso 0.0.2c
This commit is contained in:
19
libc/include/string.h
Normal file
19
libc/include/string.h
Normal file
@ -0,0 +1,19 @@
|
||||
#ifndef _LIBC_STRING_H
|
||||
#define _LIBC_STRING_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
size_t strlen(const char* str);
|
||||
int strcmp(const char *s1, const char *s2);
|
||||
int strncmp(const char *s1, const char *s2, size_t n);
|
||||
char* strcpy(char *dst, const char *src);
|
||||
char* strncpy(char *dest, const char *src, uint32_t n);
|
||||
char* strcat(char *dest, const char *src);
|
||||
/*char* strdup(const char* s);*/
|
||||
|
||||
int memcmp(const void *s1, const void *s2, size_t n);
|
||||
void* memcpy(void *dst, const void *src, uint32_t n);
|
||||
void* memset(void* dst, int c, size_t n);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user