/*
 * mysetvbuf.c
 * (C) 2002 by Matthias Andree
 * LICENSE: GNU LESSER GENERAL PUBLIC LICENSE
 *
 * offer a consistent wrapper around broken setvbuf calls
 */

#include "config.h"
#include "leafnode.h"
#include <stdio.h>

int mysetvbuf(FILE *stream, char *buf, int mode , size_t size)
{
#ifdef SETVBUF_REVERSED
	return setvbuf(stream, mode, buf, size);
#else
	return setvbuf(stream, buf, mode, size);
#endif
}


syntax highlighted by Code2HTML, v. 0.9.1