EvinceDocument.mkstemp

Creates a temp file in the evince temp directory.

struct EvinceDocument
static
int
mkstemp
(
string tmpl
,
string[] fileName
)

Parameters

tmpl string

a template string; must contain 'XXXXXX', but not necessarily as a suffix

fileName string[]

a location to store the filename of the temp file

Return Value

Type: int

a file descriptor to the newly created temp file name, or %-1 on error with @error filled in

Throws

GException on failure.

Meta