xrxs/util.h

15 lines
424 B
C

typedef unsigned long long uvlong;
uvlong hash(char* str);
char clca(char c);
char cuca(char c);
int slen(char* str);
char* st__(char* str, char (*fn)(char c));
char* stuc(char* str);
char* stlc(char* str);
char* scpy(char* src, char* dst, int len);
int scmp(char* a, char* b);
char* scsw(char* str, char a, char b);
char* scat(char* dst, const char* src);
int ssin(char* str, char* substr);
char* ccat(char* dst, char c);