The NetBSD Project

CVS log for src/include/wchar.h

[BACK] Up to [] / src / include

Request diff between arbitrary revisions

Default branch: MAIN
Current tag: bouyer-socketcan-base

Revision 1.42 / (download) - annotate - [select for diffs], Sat Oct 15 14:22:00 2016 UTC (16 months, 1 week ago) by kamil
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, perseant-stdc-iso10646-base, netbsd-8-base, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, HEAD
Branch point for: perseant-stdc-iso10646
Changes since 1.41: +2 -1 lines
Diff to previous 1.41 (colored)

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>