forked from KolibriOS/kolibrios
Magomed Kostoev (mkostoevr)
1f4d74f500
git-svn-id: svn://kolibrios.org@8622 a494cfbc-eb01-0410-851d-a64ba20cac60
13 lines
493 B
C
13 lines
493 B
C
#include <stddef.h>
|
|
#include <stdarg.h>
|
|
|
|
typedef struct {
|
|
void (*fct)(char character, void* arg);
|
|
void* arg;
|
|
} out_fct_wrap_type;
|
|
|
|
typedef void (*out_fct_type)(char character, void* buffer, size_t idx, size_t maxlen);
|
|
extern void _out_buffer(char character, void* buffer, size_t idx, size_t maxlen);
|
|
extern void _out_null(char character, void* buffer, size_t idx, size_t maxlen);
|
|
extern int _vsnprintf(out_fct_type out, char* buffer, const size_t maxlen, const char* format, va_list va);
|