]> pd.if.org Git - pdclib/blobdiff - functions/stdio/fclose.c
PDCLIB-8: First phase of intergation of new I/O backend system (with minimal
[pdclib] / functions / stdio / fclose.c
index c4f5d8a1b1bdc02cb928a023960fd00968e7210c..3d9e25724f45bdf58de3ee14ba16d183af0bb0fa 100644 (file)
@@ -39,7 +39,7 @@ int fclose( struct _PDCLIB_file_t * stream )
             mtx_destroy( &stream->lock );
 
             /* Close handle */
-            _PDCLIB_close( stream->handle );
+            stream->ops->close(stream->handle);
 
             /* Remove stream from list */
             if ( previous != NULL )