banan-os/libc/include/string.h

19 lines
463 B
C
Raw Normal View History

#pragma once
#include <stddef.h>
#include <sys/cdefs.h>
2022-11-14 00:27:11 +02:00
__BEGIN_DECLS
int memcmp(const void*, const void*, size_t);
void* memcpy(void* __restrict, const void* __restrict, size_t);
void* memmove(void*, const void*, size_t);
void* memset(void*, int, size_t);
size_t strlen(const char*);
2022-11-12 23:47:06 +02:00
char* strcpy(char* __restrict, const char* __restrict);
char* strncpy(char* __restrict, const char* __restrict, size_t);
2022-11-15 21:42:14 +02:00
char* strstr(const char*, const char*);
2022-11-14 00:27:11 +02:00
__END_DECLS