diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-02-05 18:48:31 -0200 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-02-27 10:00:37 -0300 |
commit | 30a7e2081c690dbb22022e1a7d276341b7391434 (patch) | |
tree | ed9c670f923dc70d0e8cfb26b8adb095d24b0cf9 /wcsmbs/wmemset.c | |
parent | ddf21ec79f25410bed8ab25de5a7d3003a8d03b8 (diff) | |
download | glibc-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/wmemset.c')
0 files changed, 0 insertions, 0 deletions