summaryrefslogtreecommitdiff
path: root/stm/std.h
diff options
context:
space:
mode:
authorDave Hylands <dhylands@gmail.com>2014-01-12 22:34:58 -0800
committerDave Hylands <dhylands@gmail.com>2014-01-12 22:34:58 -0800
commitc8effff937442be01d36d56c77054bbdee3f3aff (patch)
treeb84e6846a0a7441ef9cd05b5cb787dff02ada904 /stm/std.h
parent34f813ee29c7191e3de455c3fc9c788496e3b29e (diff)
Added public domain implementations of strchr and strstr.
Diffstat (limited to 'stm/std.h')
-rw-r--r--stm/std.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stm/std.h b/stm/std.h
index 587b9f888..95c606e05 100644
--- a/stm/std.h
+++ b/stm/std.h
@@ -17,6 +17,8 @@ int strncmp(const char *s1, const char *s2, size_t n);
char *strndup(const char *s, size_t n);
char *strcpy(char *dest, const char *src);
char *strcat(char *dest, const char *src);
+char *strchr(const char *s, int c);
+char *strstr(const char *haystack, const char *needle);
int printf(const char *fmt, ...);
int snprintf(char *str, size_t size, const char *fmt, ...);