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

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>2004-11-18 08:20:23 +0300
committerBas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>2004-11-18 08:20:23 +0300
commitd26eb2a13b286ce8ee81f8b27482e84d5816e0d6 (patch)
tree91cc725e1b8f7629b3d8f6acebfbee492e0d9e42 /winsup/utils/cygcheck.cc
parent1f8f7e2d54364bd2993892adffb5c6435f53167d (diff)
* cygcheck.cc (eprintf): New function.
Diffstat (limited to 'winsup/utils/cygcheck.cc')
-rw-r--r--winsup/utils/cygcheck.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc
index 35ac4330c..b19629680 100644
--- a/winsup/utils/cygcheck.cc
+++ b/winsup/utils/cygcheck.cc
@@ -98,6 +98,15 @@ static common_apps[] = {
static int num_paths = 0, max_paths = 0;
static char **paths = 0;
+void
+eprintf (const char *format, ...)
+{
+ va_list ap;
+ va_start (ap, format);
+ vfprintf (stderr, format, ap);
+ va_end (ap);
+}
+
/*
* display_error() is used to report failure modes
*/