diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-02-05 17:34:21 -0200 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-02-27 10:00:38 -0300 |
commit | 39ef07441910c2d2f8c02579e808862194b9a23b (patch) | |
tree | 34c8d7a478ab0ad6b8f106b0686a701e8ed355a9 /sysdeps | |
parent | 7b3fb620519f6887b2650cc8e0e3267e44914c7b (diff) | |
download | glibc-39ef07441910c2d2f8c02579e808862194b9a23b.tar.gz glibc-39ef07441910c2d2f8c02579e808862194b9a23b.tar.xz glibc-39ef07441910c2d2f8c02579e808862194b9a23b.zip |
wcsmbs: optimize wcpncpy
This patch rewrites wcpncpy using wcslen, wmemcpy, and wmemset. This is similar to the optimization done on stpncpy by 48497aba8e. Checked on x86_64-linux-gnu. * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and wmemset.
Diffstat (limited to 'sysdeps')
0 files changed, 0 insertions, 0 deletions