1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2024-11-13 11:04:27 -05:00
libkernaux/libc/string.h

27 lines
666 B
C
Raw Normal View History

#ifndef _STRING_H
#define _STRING_H 1
2021-12-15 05:45:40 -05:00
#ifdef __cplusplus
extern "C" {
#endif
#include <stddef.h>
int memcmp(const void *s1, const void *s2, size_t n);
void *memcpy(void *dest, const void *src, size_t n);
void *memmove(void *dest, const void *src, size_t n);
2021-12-15 05:45:40 -05:00
void *memset(void *s, int c, size_t n);
int strcmp(const char *s1, const char *s2);
2021-12-15 05:45:40 -05:00
char *strcpy(char *dest, const char *src);
size_t strlen(const char *s);
int strncmp(const char *s1, const char *s2, size_t n);
char *strncpy(char *dest, const char *src, size_t n);
2022-01-19 06:14:46 -05:00
size_t strnlen(const char *s, size_t maxlen);
char *strstr(const char *haystack, const char *needle);
2021-12-15 05:45:40 -05:00
#ifdef __cplusplus
}
#endif
#endif