22 lines
399 B
C
22 lines
399 B
C
#ifndef SOCKS_STDIO_H_
|
|
#define SOCKS_STDIO_H_
|
|
|
|
#include <stdarg.h>
|
|
#include <stddef.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
int snprintf(char *buffer, size_t count, const char *format, ...);
|
|
int vsnprintf(char *buffer, size_t count, const char *format, va_list va);
|
|
|
|
int fctprintf(void (*out)(char character, void *arg), void *arg, const char*format, ...);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|