--- - branch: MAIN date: Sat Oct 15 14:22:00 UTC 2016 files: - new: '1.2067' old: '1.2066' path: src/distrib/sets/lists/comp/mi pathrev: src/distrib/sets/lists/comp/mi@1.2067 type: modified - new: '1.42' old: '1.41' path: src/include/wchar.h pathrev: src/include/wchar.h@1.42 type: modified - new: '1.82' old: '1.81' path: src/lib/libc/string/Makefile.inc pathrev: src/lib/libc/string/Makefile.inc@1.82 type: modified - new: '1.1' old: '0' path: src/lib/libc/string/wcsnlen.c pathrev: src/lib/libc/string/wcsnlen.c@1.1 type: added - new: '1.17' old: '1.16' path: src/lib/libc/string/wmemchr.3 pathrev: src/lib/libc/string/wmemchr.3@1.17 type: modified id: 20161015T142200Z.e34e02d7dfafb97f6f502148f1be79917c197c92 log: | Import wcsnlen(3) to libc The wcsnlen(3) function conforms to POSIX.1-2008 and is an addition to the ISO C standard. size_t wcsnlen(const wchar_t *s, size_t maxlen); The wcsnlen(3) function computes the number of wide-characters in a wide- -string to which s points, not including NULL terminating wide-character code and checking no more than maxlen wide-characters. This function never examines wide-characters beyond a wide-string of maxlen size. This function is a safer version of wcslen(3): size_t wcslen(const wchar_t *s); Update STANDARDS section of wmemchr(3) describing wide-character functions. module: src subject: 'CVS commit: src' unixtime: '1476541320' user: kamil