about summary refs log tree commit diff
path: root/io/dup2.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2024-08-07 16:55:16 -0400
committerDJ Delorie <dj@redhat.com>2024-09-04 16:24:12 -0400
commit4945ffc88a8ad49280bae64165683ddfd12b2390 (patch)
tree5fdd3053c2276b38c2d6a10510ac12666a50cccb /io/dup2.c
parented4bb289cf739f537deb735eaa01be531df084b9 (diff)
downloadglibc-4945ffc88a8ad49280bae64165683ddfd12b2390.tar.gz
glibc-4945ffc88a8ad49280bae64165683ddfd12b2390.tar.xz
glibc-4945ffc88a8ad49280bae64165683ddfd12b2390.zip
fgets: more tests
Add more tests for unusual situations fgets() might see:

* zero size file
* zero sized buffer
* NULL buffer
* NUL data
* writable stream
* closed stream

Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'io/dup2.c')
0 files changed, 0 insertions, 0 deletions