mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-27 12:22:09 +00:00
42b81ffe7d
- Added [v]snprintf() replacement for systems that lack it
18 lines
358 B
C
18 lines
358 B
C
#ifndef _BSD_SNPRINTF_H
|
|
#define _BSD_SNPRINTF_H
|
|
|
|
#include "config.h"
|
|
|
|
#include <sys/types.h> /* For size_t */
|
|
|
|
#ifndef HAVE_SNPRINTF
|
|
int snprintf(char *str, size_t n, char const *fmt, ...);
|
|
#endif /* !HAVE_SNPRINTF */
|
|
|
|
#ifndef HAVE_VSNPRINTF
|
|
int vsnprintf(char *str, size_t n, char *fmt, char *ap);
|
|
#endif /* !HAVE_SNPRINTF */
|
|
|
|
|
|
#endif /* _BSD_SNPRINTF_H */
|