Index: src/platform-freebsd.cc |
=================================================================== |
--- src/platform-freebsd.cc (revision 1325) |
+++ src/platform-freebsd.cc (working copy) |
@@ -184,6 +184,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); |
} |