finix/libk/include/string.h

14 lines
485 B
C
Raw Normal View History

2023-07-16 06:54:32 +00:00
#pragma once
#include <stddef.h>
int memcmp(const void *vl, const void *vr, size_t n);
void *memcpy(void *restrict dest, const void *restrict src, size_t n);
void *memmove(void *dest, const void *src, size_t n);
void *memset(void *dest, int c, size_t n);
char *strcpy(char *restrict dest, const char *restrict src);
char *strncpy(char *restrict dest, const char *restrict src, size_t n);
size_t strlen(const char *s);
int strncmp( const char* lhs, const char* rhs, size_t count );