summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'base/gssprintf.h')
-rw-r--r--base/gssprintf.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/base/gssprintf.h b/base/gssprintf.h
new file mode 100644
index 00000000..cfd2e333
--- /dev/null
+++ b/base/gssprintf.h
@@ -0,0 +1,35 @@
+/* Copyright (C) 2001-2019 Artifex Software, Inc.
+ All Rights Reserved.
+
+ This software is provided AS-IS with no warranty, either express or
+ implied.
+
+ This software is distributed under license and may not be copied,
+ modified or distributed except as expressly authorized under the terms
+ of the license contained in the file LICENSE in this distribution.
+
+ Refer to licensing information at http://www.artifex.com or contact
+ Artifex Software, Inc., 1305 Grant Avenue - Suite 200, Novato,
+ CA 94945, U.S.A., +1(415)492-9861, for further information.
+*/
+
+#ifndef gssprintf_INCLUDED
+# define gssprintf_INCLUDED
+
+#include <stdarg.h>
+
+int
+gs_vsnprintf(char *zBuf, int n, const char *zFormat, va_list ap);
+
+int
+gs_snprintf(char *zBuf, int n, const char *zFormat, ...);
+
+int
+gs_vsprintf(char *zBuf, const char *zFormat, va_list ap);
+
+int
+gs_sprintf(char *zBuf, const char *zFormat, ...);
+
+int
+gs_sscanf(char *buf, const char *format, ...);
+#endif