42_KFS/libbozo/headers/string.h

13 lines
409 B
C
Raw Normal View History

2024-09-07 08:40:46 -04:00
#pragma once
#include <stddef.h>
char *strchr(const char *str, int c);
int strcmp(const char *s1, const char *s2);
int strncmp(const char *s1, const char *s2, size_t n);
size_t strlen(const char *str);
char *strstr(const char *haystack, const char *needle);
void *memcpy(void *dest, const void *src, size_t n);
int memcmp(const void *s1, const void *s2, size_t n);
void *memset(void *str, int c, size_t n);