home | help
xt_ff_mkstemp(3)	    Library Functions Manual		xt_ff_mkstemp(3)

NAME
     xt_ff_tmpfile() - Create a fast file stream connected to a temporary file

LIBRARY
     #include <xtend/fast-file.h>
     -lxtend

SYNOPSIS
     xt_ff_t *xt_ff_mkstemp(char template[])

ARGUMENTS
     None.

DESCRIPTION
     xt_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 VALUES
     Pointer to a xt_ff_t structure on success, NULL on failure.

EXAMPLES
     xt_ff_t *fp = xt_ff_tmpfile(3);

SEE ALSO
     tmpfile(3), mkstemp(3).

								xt_ff_mkstemp(3)

home | help