getopt.h is a GNU-getopt-specific header. always expose GNU functions.
[musl] / src / string / wcslen.c
1 #include <wchar.h>
2
3 size_t wcslen(const wchar_t *s)
4 {
5         const wchar_t *a;
6         for (a=s; *s; s++);
7         return s-a;
8 }