2011-06-06 07:02:13 +02:00
|
|
|
/* cygxdr.cc:
|
2010-03-03 16:05:19 +01:00
|
|
|
|
|
|
|
This file is part of Cygwin.
|
|
|
|
|
|
|
|
This software is a copyrighted work licensed under the terms of the
|
|
|
|
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
|
|
|
details. */
|
|
|
|
|
|
|
|
#include "winsup.h"
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "cygxdr.h"
|
|
|
|
|
|
|
|
extern "C" void
|
|
|
|
cygxdr_vwarnx (const char * fmt, va_list ap)
|
|
|
|
{
|
|
|
|
/* Imitate glibc behavior for xdr: messages are printed to stderr */
|
|
|
|
(void) fputs ("xdr-routines: ", stderr);
|
|
|
|
(void) vfprintf (stderr, fmt, ap);
|
|
|
|
(void) fputs ("\n", stderr);
|
|
|
|
}
|
|
|
|
|