cupsTempFd

Name

cupsTempFd -- Creates a temporary file.

Synopsis

#include <cups/cups.h>

int cupsTempFd(char * filename, int len);

Description

Creates a temporary file.

The temporary filename is returned in the filename buffer. The temporary file is opened for reading and writing.

Return Value

New file descriptor or -1 on error