Index: src/platform-linux.cc |
=================================================================== |
--- src/platform-linux.cc (revision 1325) |
+++ src/platform-linux.cc (working copy) |
@@ -180,6 +180,11 @@ |
} |
+char* OS::StrChr(char* str, int c) { |
+ return strchr(str, c); |
+} |
+ |
+ |
void OS::StrNCpy(Vector<char> dest, const char* src, size_t n) { |
strncpy(dest.start(), src, n); |
} |