aboutsummaryrefslogtreecommitdiff
path: root/include/compat/strchrnul.h
diff options
context:
space:
mode:
authorAlan Brault <alan.brault@incruentatus.net>2011-05-03 09:28:09 -0400
committerAlan Brault <alan.brault@incruentatus.net>2011-05-03 09:28:09 -0400
commitb608b55786a8cecf626d7c489496ac402098b198 (patch)
treec72a75af776d41cb21ce64de6b843bae4020eab1 /include/compat/strchrnul.h
parent647e4ca02ad06939dea2e6b1dcf71ee510867cd4 (diff)
downloadduser-b608b55786a8cecf626d7c489496ac402098b198.tar.gz
Clean up compat, bring in strcasestr from OpenBSD and strchrnul from uclibc
and separate the headers.
Diffstat (limited to 'include/compat/strchrnul.h')
-rw-r--r--include/compat/strchrnul.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/compat/strchrnul.h b/include/compat/strchrnul.h
new file mode 100644
index 0000000..ca12806
--- /dev/null
+++ b/include/compat/strchrnul.h
@@ -0,0 +1,4 @@
+#ifndef STRCHRNUL_H
+#define STRCHRNUL_H
+char *strchrnul(const char* s, int c);
+#endif