Files
Espresso/libc/include/string.h

20 lines
552 B
C
Raw Normal View History

2026-03-20 16:57:08 -05:00
#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