ReactOS 0.4.16-dev-125-g798ea90
reactos_support_code.h File Reference
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <alloca.h>
#include <unistd.h>
#include "../port/port.h"
Include dependency graph for reactos_support_code.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define err(...)   isohybrid_error(__VA_ARGS__)
 
#define errx(...)   isohybrid_error(__VA_ARGS__)
 
#define warn(...)   isohybrid_warning(__VA_ARGS__)
 
#define warnx(...)   isohybrid_warning(__VA_ARGS__)
 

Typedefs

typedef unsigned char uint8_t
 
typedef unsigned short uint16_t
 
typedef unsigned int uint32_t
 
typedef unsigned long long uint64_t
 

Functions

void isohybrid_error (int eval, const char *fmt,...)
 
void isohybrid_warning (const char *fmt,...)
 

Macro Definition Documentation

◆ err

#define err (   ...)    isohybrid_error(__VA_ARGS__)

Definition at line 30 of file reactos_support_code.h.

◆ errx

#define errx (   ...)    isohybrid_error(__VA_ARGS__)

Definition at line 31 of file reactos_support_code.h.

◆ warn

#define warn (   ...)    isohybrid_warning(__VA_ARGS__)

Definition at line 32 of file reactos_support_code.h.

◆ warnx

#define warnx (   ...)    isohybrid_warning(__VA_ARGS__)

Definition at line 33 of file reactos_support_code.h.

Typedef Documentation

◆ uint16_t

Definition at line 23 of file reactos_support_code.h.

◆ uint32_t

Definition at line 24 of file reactos_support_code.h.

◆ uint64_t

Definition at line 25 of file reactos_support_code.h.

◆ uint8_t

Definition at line 22 of file reactos_support_code.h.

Function Documentation

◆ isohybrid_error()

void isohybrid_error ( int  eval,
const char fmt,
  ... 
)

Definition at line 4 of file reactos_support_code.c.

5{
8 fprintf(stderr, "isohybrid: ");
10 va_end(ap);
11 exit(eval);
12}
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
_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)
#define exit(n)
Definition: config.h:202
Definition: dsound.c:943
void int int ULONGLONG int va_list * ap
Definition: winesup.h:36

◆ isohybrid_warning()

void isohybrid_warning ( const char fmt,
  ... 
)

Definition at line 15 of file reactos_support_code.c.

16{
17 va_list ap;
18 va_start(ap, fmt);
19 fprintf(stderr, "isohybrid: ");
21 va_end(ap);
22}