Siebel eScript Language Reference > Siebel eScript Commands > The Clib Object >

Clib.tmpfile() Method


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

Syntax

Clib.tmpfile()

Parameter
Description
Not applicable
 

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, read Clib.fgets() Method.

See Also

Clib.fopen() Method


 Siebel eScript Language Reference 
 Published: 18 April 2003