2026-02-19 19:28:50 +00:00
|
|
|
#ifndef STRING_H_
|
|
|
|
|
#define STRING_H_
|
|
|
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
2026-03-06 20:12:58 +00:00
|
|
|
extern const char *strerror(int errnum);
|
|
|
|
|
extern const char *strerror_code(int errnum);
|
|
|
|
|
|
2026-02-19 19:28:50 +00:00
|
|
|
extern size_t strlen(const char *s);
|
|
|
|
|
|
|
|
|
|
extern int strcmp(const char *s1, const char *s2);
|
|
|
|
|
extern int strncmp(const char *s1, const char *s2, unsigned long n);
|
|
|
|
|
|
|
|
|
|
extern void *memset(void *str, int c, size_t n);
|
|
|
|
|
extern void *memcpy(void *dst, const void *src, size_t len);
|
|
|
|
|
|
|
|
|
|
#endif
|