+
+int fsetpos( FILE * stream,
+ const _PDCLIB_fpos_t * pos )
+{
+ _PDCLIB_flockfile( stream );
+ int res = _PDCLIB_fsetpos_unlocked( stream, pos );
+ _PDCLIB_funlockfile( stream );
+ return res;
+}
+
+#endif
+
+#ifdef TEST
+#include <_PDCLIB_test.h>
+
+int main( void )
+{
+ /* fsetpos() tested together with fsetpos(). */
+ return TEST_RESULTS;
+}
+
+#endif