Add a missing return statement for the pwcs == NULL case (XSI extension).

This commit is contained in:
Tim J. Robbins 2002-11-09 04:13:26 +00:00
parent 0b77fb0c75
commit 39df93ae41

View File

@ -67,6 +67,7 @@ mbstowcs(wchar_t * __restrict pwcs, const char * __restrict s, size_t n)
errno = EILSEQ;
return (-1);
}
return (cnt);
}
/* Convert, store and count characters. */