-/* $Id$ */
-
/* fclose( FILE * )
This file is part of the Public Domain C Library (PDCLib).
#include <stdlib.h>
#ifndef REGTEST
-#include <_PDCLIB_glue.h>
+
+#include "_PDCLIB_glue.h"
extern struct _PDCLIB_file_t * _PDCLIB_filelist;
previous = current;
current = current->next;
}
- _PDCLIB_errno = _PDCLIB_EIO;
+ /* See the comments on implementation-defined errno values in
+ <_PDCLIB_config.h>.
+ */
+ _PDCLIB_errno = _PDCLIB_ERROR;
return -1;
}
#endif
#ifdef TEST
-#include <_PDCLIB_test.h>
+
+#include "_PDCLIB_test.h"
int main( void )
{
}
#endif
-