util.h (raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
typedef unsigned long long uvlong; uvlong hash(char* str, int array_sz); 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); char* read_bytes(char* path); char* read_chars(char* path); |