contents   index   previous   next



Clib.fclose()

syntax:

Clib.fclose(filePointer)

where:

filePointer - pointer to file to close.

 

return:

number - 0 on success, else EOF.

 

description:

The parameter filePointer is a file pointer as returned by Clib.fopen(). This method flushes the file buffers of a stream and closes the file. The file pointer ceases to be valid after this call. Returns zero if successful, otherwise returns EOF.

 

see:

Clib.fopen(), Clib.flock()

 

 


Clib.feof()