Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygxdr.cc « cygwin « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5b0e6ba3ab8aa6213a7daa4cc5af88def2a00903 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* cygxdr.cc: 

   Copyright 2010 Red Hat, Inc.

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