diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-02-09 14:31:31 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-02-09 14:31:31 -0500 |
| commit | ae9f7ec577e7a8cfd474d7772eb31afd487ff099 (patch) | |
| tree | df9780238fc2e8227cc8d65e7b30e8dd28b66a16 /src/strings/index.c | |
| parent | dd20f8f7ca634d375c54c1f9d27a19bc8ca4f5e1 (diff) | |
merge XOPEN identifiers
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) +*/ |
