3 /* _PDCLIB_fillbuffer( struct _PDCLIB_file_t * stream )
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_fillbuffer() fit for
10 use with POSIX kernels.
16 #include <_PDCLIB_glue.h>
18 int _PDCLIB_fillbuffer( struct _PDCLIB_file_t * stream )
20 stream->buffer[0] = inbyte();
21 stream->pos.offset += 1;
30 #include <_PDCLIB_test.h>
34 /* Testing covered by ftell.c */