diff options
author | Joe Simmons-Talbott <josimmon@redhat.com> | 2023-04-21 09:24:24 -0400 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-04-21 10:50:42 -0300 |
commit | 0c48aa0551151ea201f7f528492e89a0b08a6890 (patch) | |
tree | c31ae037cb2d5613832d9b64b826394c6d49f5f4 /sysdeps/generic/pagecopy.h | |
parent | eaaad78db41724e5a18a42becb238bfc4e683998 (diff) | |
download | glibc-0c48aa0551151ea201f7f528492e89a0b08a6890.tar glibc-0c48aa0551151ea201f7f528492e89a0b08a6890.tar.gz glibc-0c48aa0551151ea201f7f528492e89a0b08a6890.tar.bz2 glibc-0c48aa0551151ea201f7f528492e89a0b08a6890.zip |
string: Add tests for strndup (BZ #30266)
Copy strncpy tests for strndup. Covers some basic testcases with random
strings. Remove tests that set the destination's bytes and checked the
resulting buffer's bytes. Remove wide character test support since
wcsndup() doesn't exist.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/generic/pagecopy.h')
0 files changed, 0 insertions, 0 deletions