2019-02-09 12:52:45 -06:00
|
|
|
#ifndef STRING_H
|
|
|
|
#define STRING_H
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
void* memcpy(void* dest,const void* src,size_t len);
|
|
|
|
void* memset(void* dest,int val,size_t len);
|
|
|
|
int strcmp(const char* s1,const char* s2);
|
|
|
|
size_t strlen(const char* str);
|
|
|
|
char* strcpy(char* dest,const char* src);
|
2019-04-13 09:23:40 -05:00
|
|
|
char* strtok(const char* str, const char* delim);
|
2019-02-09 12:52:45 -06:00
|
|
|
|
|
|
|
char* strrev(char *str);
|
|
|
|
void int_to_ascii(int n,char* str);
|
|
|
|
void hex_to_ascii(int n, char* str);
|
|
|
|
void append(char* s, char n);
|
|
|
|
void backspace(char* s);
|
|
|
|
#endif
|