Previous: , Up: File Library Functions   [Index]


7.12.3.30 x1f4_zero_lxfile

extern int x1f4_zero_lxfile(void *lxfile, void *file, int mode);

The x1f4_zero_lxfile function sets the buffering mode for the opened for writing file object, to no buffering if mode is 0, to default (line or block) buffering otherwise. lxfile is expected the file library object for which the file object was created.

The function returns 0 if it has set the buffering mode, non zero otherwise.