about summary refs log tree commit diff
path: root/wcsmbs/tst-mbrtowc.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-02-05 18:48:31 -0200
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-02-27 10:00:37 -0300
commit30a7e2081c690dbb22022e1a7d276341b7391434 (patch)
treeed9c670f923dc70d0e8cfb26b8adb095d24b0cf9 /wcsmbs/tst-mbrtowc.c
parentddf21ec79f25410bed8ab25de5a7d3003a8d03b8 (diff)
downloadglibc-30a7e2081c690dbb22022e1a7d276341b7391434.tar.gz
glibc-30a7e2081c690dbb22022e1a7d276341b7391434.tar.xz
glibc-30a7e2081c690dbb22022e1a7d276341b7391434.zip
wcsmbs: optimize wcsncpy
This patch rewrites wcsncpy using wcsnlen, wmemset, and wmemcpy.  This is
similar to the optimization done on strncpy by f6482cf29d and 6423d4754c.

Checked on x86_64-linux-gnu.

	* wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
	wmemcpy.
Diffstat (limited to 'wcsmbs/tst-mbrtowc.c')
0 files changed, 0 insertions, 0 deletions