File:  [DVB] / dietlibc / libcompat / warnx.c
Revision 1.1: download - view: text, annotated - select for diffs
Fri Jun 13 18:27:07 2003 UTC (21 years ago) by leitner
Branches: MAIN
CVS tags: HEAD
add vwarnx and warnx

#define _GNU_SOURCE
#include <err.h>
#include <stdio.h>

void warnx(const char* f, ...) {
  va_list ap;
  va_start(ap,f);
  vfdprintf(2,f,ap);
  va_end(ap);
}

LinuxTV legacy CVS <linuxtv.org/cvs>