X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Fsetvbuf.c;h=288211baefc7b5ea50e6b37ba941b503b3214f65;hp=d8470fc0edff1d91fcda0f9fc23b759b7045048d;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=298b438f912c0489a6ccea0c96acc3141983419a diff --git a/functions/stdio/setvbuf.c b/functions/stdio/setvbuf.c index d8470fc..288211b 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). @@ -11,11 +9,11 @@ #include #ifndef REGTEST -#include <_PDCLIB_io.h> +#include "_PDCLIB_io.h" 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: @@ -76,10 +74,10 @@ int setvbuf( FILE * _PDCLIB_restrict stream, char * _PDCLIB_restrict buf, int mo #endif #ifdef TEST -#include <_PDCLIB_test.h> +#include "_PDCLIB_test.h" #include #ifndef REGTEST -#include <_PDCLIB_io.h> +#include "_PDCLIB_io.h" #endif #define BUFFERSIZE 500