aboutsummaryrefslogtreecommitdiff
path: root/src/bsd-snprintf.h
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2001-12-11 20:47:02 (GMT)
committerfluxgen <fluxgen>2001-12-11 20:47:02 (GMT)
commit18830ac9add80cbd3bf7369307d7e35a519dca9b (patch)
tree4759a5434a34ba317fe77bbf8b0ed9bb57bb6018 /src/bsd-snprintf.h
parent1523b48bff07dead084af3064ad11c79a9b25df0 (diff)
downloadfluxbox-18830ac9add80cbd3bf7369307d7e35a519dca9b.zip
fluxbox-18830ac9add80cbd3bf7369307d7e35a519dca9b.tar.bz2
Initial revision
Diffstat (limited to 'src/bsd-snprintf.h')
-rw-r--r--src/bsd-snprintf.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/bsd-snprintf.h b/src/bsd-snprintf.h
new file mode 100644
index 0000000..ed7a21c
--- /dev/null
+++ b/src/bsd-snprintf.h
@@ -0,0 +1,17 @@
1#ifndef _BSD_SNPRINTF_H
2#define _BSD_SNPRINTF_H
3
4#include "config.h"
5
6#include <sys/types.h> /* For size_t */
7
8#ifndef HAVE_SNPRINTF
9int snprintf(char *str, size_t count, const char *fmt, ...);
10#endif /* !HAVE_SNPRINTF */
11
12#ifndef HAVE_VSNPRINTF
13int vsnprintf(char *str, size_t count, const char *fmt, va_list args);
14#endif /* !HAVE_SNPRINTF */
15
16
17#endif /* _BSD_SNPRINTF_H */