move msghdr and cmsghdr out of bits/socket.h
[musl.git] / src / string / rindex.c
blob693c750b6b653c4a25f0c31ac12c43dabe08c152
1 #define _BSD_SOURCE
2 #include <string.h>
3 #include <strings.h>
5 char *rindex(const char *s, int c)
7 return strrchr(s, c);