banan-os/libc/include/string.h

30 lines
745 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);
2023-04-05 23:58:40 +03:00
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*);
2023-02-23 15:57:33 +02:00
int strcmp(const char*, const char*);
int strncmp(const char*, const char*, size_t);
2023-04-05 23:58:40 +03:00
char* strcpy(char* __restrict__, const char* __restrict__);
char* strncpy(char* __restrict__, const char* __restrict__, size_t);
char* strcat(char* __restrict__, const char* __restrict__);
char* strchr(const char*, int);
2022-11-12 23:47:06 +02:00
2022-11-15 21:42:14 +02:00
char* strstr(const char*, const char*);
char* strerror(int);
2023-05-10 02:22:31 +03:00
const char* strerrorname_np(int);
const char* strerrordesc_np(int);
2022-11-14 00:27:11 +02:00
__END_DECLS