X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2Ffillbuffer.c;fp=platform%2Fexample%2Ffunctions%2F_PDCLIB%2Ffillbuffer.c;h=0000000000000000000000000000000000000000;hb=baf13261427b80f6e3aab2c7ce485ab08d31144f;hp=c961f48dfdeb92c607e3ed3f29549de8be9526eb;hpb=e0a1864c7e4dbd4d482379b1bb6fd56b5ac68617;p=pdclib diff --git a/platform/example/functions/_PDCLIB/fillbuffer.c b/platform/example/functions/_PDCLIB/fillbuffer.c deleted file mode 100644 index c961f48..0000000 --- a/platform/example/functions/_PDCLIB/fillbuffer.c +++ /dev/null @@ -1,37 +0,0 @@ -/* $Id$ */ - -/* _PDCLIB_fillbuffer( struct _PDCLIB_file_t * stream ) - - This file is part of the Public Domain C Library (PDCLib). - Permission is granted to use, modify, and / or redistribute at will. -*/ - -/* This is a stub version of _PDCLIB_fillbuffer -*/ - -#include - -#ifndef REGTEST -#include <_PDCLIB_glue.h> -#include - -int _PDCLIB_fillbuffer( struct _PDCLIB_file_t * stream ) -{ - errno = ENOTSUP; - stream->status |= _PDCLIB_EOFFLAG; - return EOF; -} - -#endif - -#ifdef TEST -#include <_PDCLIB_test.h> - -int main( void ) -{ - /* Testing covered by ftell.c */ - return TEST_RESULTS; -} - -#endif -