-/* $Id$ */
-
/* fgets( char *, int, FILE * )
This file is part of the Public Domain C Library (PDCLib).
#ifndef REGTEST
-#define _PDCLIB_GLUE_H _PDCLIB_GLUE_H
-#include <_PDCLIB_glue.h>
+#include "_PDCLIB_glue.h"
char * fgets( char * _PDCLIB_restrict s, int size, struct _PDCLIB_file_t * _PDCLIB_restrict stream )
{
#endif
#ifdef TEST
-#include <_PDCLIB_test.h>
+#include "_PDCLIB_test.h"
#include <string.h>
int main( void )
TESTCASE( fgets( buffer, 2, fh ) == NULL );
TESTCASE( feof( fh ) );
TESTCASE( fclose( fh ) == 0 );
- remove( testfile );
+ TESTCASE( remove( testfile ) == 0 );
return TEST_RESULTS;
}