BRender Technical Reference Manual:4 Data Structures (Alphabetical Reference):brfile_close_cbfn
Next|Prev|Up
The Call-Back Function
Specification
CBFnFileClose()

brfile_close_cbfn


The Call-Back Function

This type defines a file close function, primarily intended for the close member of the br_filesystem
125 structure.

The typedef

(See brfile.h for a precise declaration)

void brfile_close_cbfn(void*) Close file

Specification


CBFnFileClose()

Description:
An application defined call-back function closing a previously opened file.

Declaration:
void BR_CALLBACK CBFnFileClose(void* f)

Arguments:
void * f

Valid file handle - as returned by CBFnFileOpenRead()376 and CBFnFileOpenWrite()378.

Preconditions:
BRender has completed initialisation. BRender is the only direct caller of this function.

Effects:
Close file.

Example:
See stdfile.c for examples of filing system functions.



Generated with CERN WebMaker