![]() |
![]()
| ![]() |
![]()
NAMExt_ff_tmpfile() - Create a fast file stream connected to a temporary file LIBRARY#include <xtend/fast-file.h> -lxtend SYNOPSISxt_ff_t *xt_ff_mkstemp(char template[]) ARGUMENTSNone. DESCRIPTIONxt_ff_tmpfile(3) opens a temporary file using mkstemp(3), returning a xt_ff_t pointer tied to the file descriptor created by mkstemp(3). The file is opened for both reading and writing. This function is analogous to tmpfile(3). RETURN VALUESPointer to a xt_ff_t structure on success, NULL on failure. EXAMPLESxt_ff_t *fp = xt_ff_tmpfile(3); SEE ALSOtmpfile(3), mkstemp(3).
|