summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/cygxdr.cc
blob: d75c5998705f71412bbcd760a95f23f5f08e4a48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* cygxdr.cc:

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);
}