You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
322 B
C
16 lines
322 B
C
#include <stdarg.h>
|
|
#include <sys/types.h>
|
|
#include "errmsg.h"
|
|
#include "str.h"
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
|
|
extern void errmsg_writesys(int fd,const char* message,va_list list);
|
|
|
|
void errmsg_warnsys(const char* message, ...) {
|
|
va_list a;
|
|
va_start(a,message);
|
|
errmsg_writesys(2,message,a);
|
|
va_end(a);
|
|
}
|