BarryServer : Git

All the code for all my projects
// BarryServer : Git / OrionLibC / blob / master / include / string.h

// Related

OrionLibC

Barry Importing existing Orion LibC 03048a9 (2 years, 2 months ago)
#ifndef _STRING_H
#define _STRING_H

#include <stddef.h>

#ifdef __cplusplus
extern "C" {
#endif

int memcmp(void *s1, void *s2, size_t n);
void *memcpy(void *dest, const void *src, size_t len);
void *memset(void *dest, int byte, size_t len);
int strcmp(const char *s1, const char *s2);
int strncmp(const char *s1, const char *s2, size_t n);
char *strcpy(char *dest, const char *src);
char *strncpy(char *dest, const char *src, size_t n);
size_t strlen(const char *str);
size_t strnlen(const char *str, size_t maxlen);
char *strcat(char *dest, const char *src);
char *strchr(char *s, int c);

#ifdef __cplusplus
}
#endif

#endif