-/* $Id$ */
-
/* fsetpos( FILE *, const fpos_t * )
This file is part of the Public Domain C Library (PDCLib).
#include <stdio.h>
#ifndef REGTEST
-#include <_PDCLIB_io.h>
+#include "_PDCLIB_io.h"
-int fsetpos_unlocked( FILE * stream,
+int _PDCLIB_fsetpos_unlocked( FILE * stream,
const _PDCLIB_fpos_t * pos )
{
if ( stream->status & _PDCLIB_FWRITE )
int fsetpos( FILE * stream,
const _PDCLIB_fpos_t * pos )
{
- flockfile( stream );
- int res = fsetpos_unlocked( stream, pos );
- funlockfile( stream );
+ _PDCLIB_flockfile( stream );
+ int res = _PDCLIB_fsetpos_unlocked( stream, pos );
+ _PDCLIB_funlockfile( stream );
return res;
}
#endif
#ifdef TEST
-#include <_PDCLIB_test.h>
+#include "_PDCLIB_test.h"
int main( void )
{