#include <stdarg.h>
#include <stdio.h>
Go to the source code of this file.
|
typedef struct va_list_box | va_list_box |
|
typedef void(* | T) (int code, va_list_box *box, int put(int c, void *cl), void *cl, unsigned char flags[256], int width, int precision) |
|
|
void | hpcrun_msg_fmt (int put(int c, void *cl), void *cl, const char *fmt,...) |
|
void | hpcrun_msg_vfmt (int put(int c, void *cl), void *cl, const char *fmt, va_list_box *box) |
|
int | hpcrun_msg_ns (char *buf, size_t len, const char *fmt,...) |
|
int | hpcrun_msg_vns (char *buf, size_t len, const char *fmt, va_list_box *box) |
|
T | hpcrun_msg_register (int code, T cvt) |
|
void | hpcrun_msg_putd (const char *str, int len, int put(int c, void *cl), void *cl, unsigned char flags[256], int width, int precision) |
|
void | hpcrun_msg_puts (const char *str, int len, int put(int c, void *cl), void *cl, unsigned char flags[256], int width, int precision) |
|
Definition at line 61 of file fmt.h.
◆ va_list_box_end
#define va_list_box_end |
( |
|
box | ) |
va_end(box.ap) |
Definition at line 57 of file fmt.h.
◆ va_list_box_start
#define va_list_box_start |
( |
|
box, |
|
|
|
arg |
|
) |
| va_start(box.ap, arg) |
Definition at line 56 of file fmt.h.
◆ va_list_boxp_end
#define va_list_boxp_end |
( |
|
box | ) |
va_end(box->ap) |
Definition at line 59 of file fmt.h.
◆ va_list_boxp_start
#define va_list_boxp_start |
( |
|
box, |
|
|
|
arg |
|
) |
| va_start(box->ap, arg) |
Definition at line 58 of file fmt.h.
typedef void(* T) (int code, va_list_box *box, int put(int c, void *cl), void *cl, unsigned char flags[256], int width, int precision) |
Definition at line 62 of file fmt.h.
◆ va_list_box
◆ hpcrun_msg_fmt()
void hpcrun_msg_fmt |
( |
int |
putint c, void *cl, |
|
|
void * |
cl, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ hpcrun_msg_ns()
int hpcrun_msg_ns |
( |
char * |
buf, |
|
|
size_t |
len, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ hpcrun_msg_putd()
void hpcrun_msg_putd |
( |
const char * |
str, |
|
|
int |
len, |
|
|
int |
putint c, void *cl, |
|
|
void * |
cl, |
|
|
unsigned char |
flags[256], |
|
|
int |
width, |
|
|
int |
precision |
|
) |
| |
◆ hpcrun_msg_puts()
void hpcrun_msg_puts |
( |
const char * |
str, |
|
|
int |
len, |
|
|
int |
putint c, void *cl, |
|
|
void * |
cl, |
|
|
unsigned char |
flags[256], |
|
|
int |
width, |
|
|
int |
precision |
|
) |
| |
◆ hpcrun_msg_register()
T hpcrun_msg_register |
( |
int |
code, |
|
|
T |
cvt |
|
) |
| |
◆ hpcrun_msg_vfmt()
void hpcrun_msg_vfmt |
( |
int |
putint c, void *cl, |
|
|
void * |
cl, |
|
|
const char * |
fmt, |
|
|
va_list_box * |
box |
|
) |
| |
◆ hpcrun_msg_vns()
int hpcrun_msg_vns |
( |
char * |
buf, |
|
|
size_t |
len, |
|
|
const char * |
fmt, |
|
|
va_list_box * |
box |
|
) |
| |