diff options
Diffstat (limited to 'newlib/libc/string/wcsnlen.c')
-rw-r--r-- | newlib/libc/string/wcsnlen.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/newlib/libc/string/wcsnlen.c b/newlib/libc/string/wcsnlen.c index 9d680d603..e84342d3d 100644 --- a/newlib/libc/string/wcsnlen.c +++ b/newlib/libc/string/wcsnlen.c @@ -1,6 +1,6 @@ /* FUNCTION - <<wcsnlen>>---get fixed-size wide-character string length + <<wcsnlen>>---get fixed-size wide character string length INDEX wcsnlen @@ -16,8 +16,8 @@ TRAD_SYNOPSIS size_t <[maxlen]>; DESCRIPTION - The <<wcsnlen>> function computes the number of wide-character codes - in the wide-character string pointed to by <[s]> not including the + The <<wcsnlen>> function computes the number of wide character codes + in the wide character string pointed to by <[s]> not including the terminating L'\0' wide character but at most <[maxlen]> wide characters. @@ -27,8 +27,7 @@ RETURNS characters. PORTABILITY -<<wcsnlen>> is a GNU extension. - +<<wcsnlen>> is GNU extension.. <<wcsnlen>> requires no supporting OS subroutines. */ |