[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/EdwardLab/EdgeOS/main/include/string.h [Back]  [Original]

#ifndef STRING_H
#define STRING_H

#include "types.h"

void *memset(void *dst, char c, uint32 n);

void *memcpy(void *dst, const void *src, uint32 n);
void *memmove(void *dst, const void *src, uint32 n);

int memcmp(const void *s1, const void *s2, uint32 n);

int strlen(const char *s);

int strcmp(const char *s1, char *s2);
int strncmp(const char *s1, const char *s2, int c);

int strcpy(char *dst, const char *src);

void strcat(char *dest, const char *src);

int isspace(char c);

int isalpha(char c);
char upper(char c);
char lower(char c);

void itoa(char *buf, int base, int d);

char *strstr(const char *in, const char *str);

char *strncpy(char *dest, const char *src, size_t n);
int atoi(const char *s);


#endif

Web Proxy Viewer  |  New URL  |  Original Page