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

brfile_putchr_cbfn


The Call-Back Function

This type defines function to write a character to a file, primarily intended for the putchr member of the br_filesystem
125 structure.

The typedef

(See brfile.h for a precise declaration)

void brfile_putchr_cbfn(int, void *) Write character to stream

Specification


CBFnFilePutChr()

Description:
An application defined call-back function writing a single character to file.

Declaration:
void BR_CALLBACK CBFnFilePutChr(int c, void* f)

Arguments:
int c

Character to write.

void * f

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

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

Effects:
Write the character to the file.

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



Generated with CERN WebMaker