summaryrefslogtreecommitdiff
path: root/src/strops.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/strops.cpp')
-rw-r--r--src/strops.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/strops.cpp b/src/strops.cpp
index 146a909..d47ec2e 100644
--- a/src/strops.cpp
+++ b/src/strops.cpp
@@ -63,6 +63,11 @@ namespace strops {
return 0;
}
+ char* tokenize(char* a, const char* find)
+ {
+ return strtok(a, find);
+ }
+
s32 format_va(char* s, size_t n, const char* format, va_list args)
{
s32 result = vsnprintf(s, n, format, args);