tests: add fold(1) test for --bytes option
[coreutils.git] / src / temp-stream.h
blob6c32e0c8d5ecac610bd05234a99eac4b8fa2770e
1 /* A wrapper around mkstemp that gives us both an open stream pointer,
2 FP, and the corresponding FILE_NAME. Always return the same FP/name
3 pair, rewinding/truncating it upon each reuse.
5 Note this honors $TMPDIR, unlike the standard defined tmpfile(). */
6 extern bool temp_stream (FILE **fp, char **file_name);