cuserid: support invocation with a null pointer argument
[musl.git] / src / string / wcscmp.c
blob26eeee7045612335a311f0f3770d2cdb710dcca3
1 #include <wchar.h>
3 int wcscmp(const wchar_t *l, const wchar_t *r)
5 for (; *l==*r && *l && *r; l++, r++);
6 return *l - *r;