ReactOS 0.4.15-dev-8393-g61b7fb9
error.c File Reference
#include <schily/mconfig.h>
#include <schily/stdio.h>
#include <schily/standard.h>
#include <schily/varargs.h>
#include <schily/schily.h>
Include dependency graph for error.c:

Go to the source code of this file.

Functions

EXPORT int error (char *fmt, va_alist)
 
EXPORT int js_error (char *fmt, va_alist)
 

Function Documentation

◆ error()

EXPORT int error ( char fmt,
va_alist   
)

Definition at line 46 of file error.c.

50{
52 int ret;
53
54#ifdef PROTOTYPES
56#else
58#endif
59 ret = js_fprintf(stderr, "%r", fmt, args);
60 va_end(args);
61 return (ret);
62}
char * va_list
Definition: acmsvcex.h:78
#define va_end(ap)
Definition: acmsvcex.h:90
#define va_start(ap, A)
Definition: acmsvcex.h:91
#define stderr
Definition: stdio.h:100
EXPORT int js_fprintf(FILE *file, char *form, va_alist)
Definition: jsprintf.c:71
#define args
Definition: format.c:66
Definition: match.c:390
Definition: dsound.c:943
int ret

◆ js_error()

EXPORT int js_error ( char fmt,
va_alist   
)

Definition at line 72 of file error.c.

76{
78 int ret;
79
80#ifdef PROTOTYPES
82#else
84#endif
85 ret = js_fprintf(stderr, "%r", fmt, args);
86 va_end(args);
87 return (ret);
88}