mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08: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
55 B
C
3 lines
55 B
C
#define FREOPEN freopen
|
|
#include <tst-freopen7-main.c>
|