Siebel eScript Language Reference > Quick Reference: Methods and Properties > Disk and File Functions >

File-Manipulation Functions


The following is a list of file manipulation functions.

Method
Function
Clib.feof()
Tests whether at the end of a file stream
Clib.fflush()
Flushes the stream of one or more open files
Clib.fgetc()
Gets a character from a file stream
Clib.fgetpos()
Gets the current file cursor position in a file stream
Clib.fgets()
Gets a string from an input stream
Clib.fprintf()
Writes formatted output to a file stream
Clib.fputc()
Writes a character to a file stream
Clib.fputs()
Writes a string to a file stream
Clib.fscanf()
Gets formatted input from a file stream
Clib.fread()
Reads data from a file
Clib.fseek()
Sets the file cursor position in an open file stream
Clib.fsetpos()
Sets the file cursor position in a file stream
Clib.ftell()
Gets the current value of the file cursor
Clib.fwrite()
Writes data to a file
Clib.getc()
Gets a character from a file stream
Clib.putc()
Writes a character to a file stream
Clib.rewind()
Resets the file cursor to the beginning of a file
Clib.ungetc()
Pushes a character back to the input stream


 Siebel eScript Language Reference 
 Published: 18 April 2003