3 /* _PDCLIB_flushbuffer( struct _PDCLIB_file_t * )
5 This file is part of the Public Domain C Library (PDCLib).
6 Permission is granted to use, modify, and / or redistribute at will.
9 /* This is an example implementation of _PDCLIB_flushbuffer() fit for
10 use with POSIX kernels.
16 #include <_PDCLIB_glue.h>
18 /* The number of attempts to complete an output buffer flushing before giving
21 #define _PDCLIB_IO_RETRIES 1
23 /* What the system should do after an I/O operation did not succeed, before */
24 /* trying again. (Empty by default.) */
25 #define _PDCLIB_IO_RETRY_OP( stream )
27 /* Must be provided by host system */
28 extern void outbyte(char c);
30 int _PDCLIB_flushbuffer( struct _PDCLIB_file_t * stream )
32 return PDCLIB_NO_ACTUAL_STDIO();
39 #include <_PDCLIB_test.h>
43 /* Testing covered by ftell.c */