Subversion Repositories Kolibri OS

Rev

Rev 8687 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #include <stddef.h>
  2. #include <stdarg.h>
  3.  
  4. #pragma pack(push,1)
  5. typedef struct {
  6.   void  (*fct)(char character, void* arg);
  7.   void* arg;
  8. } out_fct_wrap_type;
  9. #pragma pack(pop)
  10.  
  11. typedef void (*out_fct_type)(char character, void* buffer, size_t idx, size_t maxlen);
  12.  void _out_buffer(char character, void* buffer, size_t idx, size_t maxlen);
  13.  void _out_null(char character, void* buffer, size_t idx, size_t maxlen);
  14.  int _vsnprintf(out_fct_type out, char* buffer, const size_t maxlen, const char* format, va_list va);
  15.