diff options
Diffstat (limited to 'src/strings/index.c')
| -rw-r--r-- | src/strings/index.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/strings/index.c b/src/strings/index.c new file mode 100644 index 00000000..86e92b4a --- /dev/null +++ b/src/strings/index.c @@ -0,0 +1,10 @@ +#include <strings.h> + +char *index(const char *s, int c) +{ + return strchr(s, c); +} + +/* +XOPEN(400,700) +*/ |
