Siebel eScript Language Reference > Siebel eScript Commands > File I/O Methods in eScript >

Clib.tmpfile() Method


This method creates a temporary binary file and returns its file pointer.

Syntax

Clib.tmpfile()

Returns

The file pointer of the file created; null if the function fails.

Usage

Clib.tmpfile() creates and opens a temporary binary file and returns its file pointer. The file pointer, and the temporary file, are automatically removed when the file is closed or when the program exits. The location of the temporary file depends on the implementation of Clib on the operating system in use.

Example

For an example, see Clib.fgets() Method.

See Also

Clib.fopen() Method

Siebel eScript Language Reference