Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

15 lines
308 B

  1. #include <stdarg.h>
  2. #include <sys/uio.h>
  3. #include "errmsg.h"
  4. #include "str.h"
  5. extern int errmsg_cvt(struct iovec* x,const char* message, va_list a);
  6. void errmsg_warn(const char* message, ...) {
  7. struct iovec x[23];
  8. va_list a;
  9. va_start(a,message);
  10. writev(2,x,errmsg_cvt(x,message,a));
  11. va_end(a);
  12. }