2 * Copyright 2007, Ingo Weinhold, bonefish@cs.tu-berlin.de.
3 * Distributed under the terms of the MIT License.
6 #include "fssh_stdio.h"
13 fssh_sprintf(char *string
, char const *format
, ...)
16 va_start(args
, format
);
18 int result
= vsprintf(string
, format
, args
);
27 fssh_snprintf(char *string
, fssh_size_t size
, char const *format
, ...)
30 va_start(args
, format
);
32 int result
= vsnprintf(string
, size
, format
, args
);
41 fssh_vsprintf(char *string
, char const *format
, va_list ap
)
43 return vsprintf(string
, format
, ap
);
48 fssh_vsnprintf(char *string
, fssh_size_t size
, char const *format
, va_list ap
)
50 return vsnprintf(string
, size
, format
, ap
);