]> pd.if.org Git - pdclib.old/blobdiff - functions/stdio/setvbuf.c
Namespace cleanliness: Rename all ***_unlocked functions to _PDCLIB_***_unlocked.
[pdclib.old] / functions / stdio / setvbuf.c
index d8470fc0edff1d91fcda0f9fc23b759b7045048d..b07d87e3f847e32de5927b260f7c818a62571f0a 100644 (file)
@@ -15,7 +15,7 @@
 
 int setvbuf( FILE * _PDCLIB_restrict stream, char * _PDCLIB_restrict buf, int mode, size_t size )
 {
-    _PDCLIB_lockfile( stream );
+    _PDCLIB_flockfile( stream );
     switch ( mode )
     {
         case _IONBF: