all repos — mgba @ 1205ff1895b5a2d1c37b23bded43a31d039befec

mGBA Game Boy Advance Emulator

src/util/string.h (view raw)

 1#ifndef UTIL_STRING_H
 2#define UTIL_STRING_H
 3
 4#include "util/common.h"
 5
 6#ifndef strndup
 7// This is sometimes a macro
 8char* strndup(const char* start, size_t len);
 9#endif
10
11char* strnrstr(const char* restrict s1, const char* restrict s2, size_t len);
12
13#endif