SYNOPSIS
#include <err.h>
void verr(int eval, const char *fmt, va_list vargs);
DESCRIPTION
The function
The function
fprintf(stderr,"%s: ", argv[0]); vfprintf(stderr, fmt, vargs); fprintf(stderr, ": %s\n", strerror(errno)); exit(eval);
PARAMETERS
- eval
-
Is the exit value for process.
- fmt
-
Is the format string for optional arguments, or the null pointer if no formatted message is to be written.
- vargs
-
Are optional arguments to the formatted message.
RETURN VALUES
The
CONFORMANCE
4.4BSD.
MULTITHREAD SAFETY LEVEL
Unsafe.
PORTING ISSUES
None.
AVAILABILITY
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
err() ,errx() ,perror() ,strerror() ,va_start() ,verrx() ,vfprintf() ,vwarn() ,vwarnx() ,warn() ,warnx()
MKS Toolkit 9.3 Documentation Build 6.