X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fsetvbuf.c;h=0cd942285553ae77ec6ce9ff59b8efc871b61ce0;hb=e1c526e9bad3f6e69391e94059096145390508d3;hp=d8470fc0edff1d91fcda0f9fc23b759b7045048d;hpb=298b438f912c0489a6ccea0c96acc3141983419a;p=pdclib diff --git a/functions/stdio/setvbuf.c b/functions/stdio/setvbuf.c index d8470fc..0cd9422 100644 --- a/functions/stdio/setvbuf.c +++ b/functions/stdio/setvbuf.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* setvbuf( FILE *, char *, int, size_t ) This file is part of the Public Domain C Library (PDCLib). @@ -15,7 +13,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: