Use 'ust-' prefix for all global private headers
[lttng-ust.git] / include / ust-snprintf.h
diff --git a/include/ust-snprintf.h b/include/ust-snprintf.h
new file mode 100644 (file)
index 0000000..37c2218
--- /dev/null
@@ -0,0 +1,16 @@
+/*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * Copyright (C) 2009 Pierre-Marc Fournier
+ */
+
+#ifndef UST_SNPRINTF
+#define UST_SNPRINTF
+
+#include <stdarg.h>
+#include <stddef.h>
+
+extern int ust_safe_vsnprintf(char *str, size_t n, const char *fmt, va_list ap);
+extern int ust_safe_snprintf(char *str, size_t n, const char *fmt, ...);
+
+#endif /* UST_SNPRINTF */
This page took 0.0245649999999999 seconds and 4 git commands to generate.