Logo Search packages:      
Sourcecode: leafnode version File versions

mysetvbuf.c

/*
 * 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
}

Generated by  Doxygen 1.6.0   Back to index