#include "err.h"
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <varargs.h>
Go to the source code of this file.
|
void | err (int eval, const char *fmt, va_alist) |
|
void | verr (int eval, const char *fmt, va_list ap) |
|
void | errx (int eval, const char *fmt, va_alist) |
|
void | verrx (int eval, const char *fmt, va_list ap) |
|
void | warn (char *fmt, va_alist) const |
|
void | vwarn (char *fmt, va_list ap) const |
|
void | warnx (char *fmt, va_alist) const |
|
void | vwarnx (char *fmt, va_list ap) const |
|
◆ err()
Definition at line 56 of file err.c.
61{
63#if __STDC__
65#else
67#endif
70}
void verr(int eval, const char *fmt, va_list ap)
void int int ULONGLONG int va_list * ap
◆ errx()
Definition at line 91 of file err.c.
96{
98#if __STDC__
100#else
102#endif
105}
void verrx(int eval, const char *fmt, va_list ap)
◆ verr()
Definition at line 73 of file err.c.
74{
75 int sverrno;
76
82 }
85}
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
_Check_return_opt_ _CRTIMP int __cdecl vfprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format, va_list _ArgList)
const char * strerror(int err)
◆ verrx()
◆ vwarn()
Definition at line 137 of file err.c.
140{
141 int sverrno;
142
148 }
150}
◆ vwarnx()
◆ warn()
void warn |
( |
char * |
fmt, |
|
|
va_alist |
|
|
) |
| const |
Definition at line 121 of file err.c.
125{
127#if __STDC__
129#else
131#endif
134}
void vwarn(char *fmt, va_list ap) const
◆ warnx()
void warnx |
( |
char * |
fmt, |
|
|
va_alist |
|
|
) |
| const |
Definition at line 156 of file err.c.
160{
162#ifdef __STDC__
164#else
166#endif
169}
void vwarnx(char *fmt, va_list ap) const
◆ __progname