mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 07:20:11 +00:00
42c810c2cf
Add tests of freopen adding or removing "c" (non-cancelling I/O) from the mode string (so completing my planned tests of freopen with different features used in the mode strings). Note that it's in the nature of the uncertain time at which cancellation might act (possibly during freopen, possibly during subsequent reads) that these can leak memory or file descriptors, so these do not include leak tests. Tested for x86_64.
3 lines
57 B
C
3 lines
57 B
C
#define FREOPEN freopen64
|
|
#include <tst-freopen7-main.c>
|