summaryrefslogtreecommitdiff
path: root/kern/string.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-05-11 06:30:46 +0200
committerRichard Braun <rbraun@sceen.net>2017-05-11 06:30:46 +0200
commit268e45101d5def9aeb053d19ae5c531a0f43f052 (patch)
tree5b527afb6e4b95bb470b8759fb1d3eaddbf73aeb /kern/string.h
parent2d2672dd3729092336b25d955265ca6f46e440f7 (diff)
kern/string: new strchr function
Diffstat (limited to 'kern/string.h')
-rw-r--r--kern/string.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kern/string.h b/kern/string.h
index 7ce4ab8f..86786c2b 100644
--- a/kern/string.h
+++ b/kern/string.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012 Richard Braun.
+ * Copyright (c) 2012-2017 Richard Braun.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -28,5 +28,6 @@ size_t strlen(const char *s);
char * strcpy(char *dest, const char *src);
size_t strlcpy(char *dest, const char *src, size_t n);
int strcmp(const char *s1, const char *s2);
+char * strchr(const char *s, int c);
#endif /* _KERN_STRING_H */