5 This file is part of the Public Domain C Library (PDCLib).
6 Permission is granted to use, modify, and / or redistribute at will.
13 #define _PDCLIB_GLUE_H _PDCLIB_GLUE_H
14 #include <_PDCLIB_glue.h>
16 char * gets( char * s )
18 if ( _PDCLIB_prepread( stdin ) == EOF )
23 while ( ( *dest = stdin->buffer[stdin->bufidx++] ) != '\n' )
25 if ( stdin->bufidx == stdin->bufend )
27 if ( _PDCLIB_fillbuffer( stdin ) == EOF )
41 #include <_PDCLIB_test.h>
45 TESTCASE( NO_TESTDRIVER );