aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mkstemps64-0.c')
-rw-r--r--tests/mkstemps64-0.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/mkstemps64-0.c b/tests/mkstemps64-0.c
new file mode 100644
index 0000000..8506332
--- /dev/null
+++ b/tests/mkstemps64-0.c
@@ -0,0 +1,17 @@
+#define CONFIG HAVE_MKSTEMPS64
+#define FUNC mkstemps64
+#define SFUNC "mkstemps64"
+#define FUNC_STR "\"%s\", %i"
+#define FUNC_IMP template, suffixlen
+#define ARG_CNT 2
+#define ARG_USE "<template> <suffixlen>"
+
+#define process_args() \
+ s = argv[i++]; \
+ char *template = s; \
+ \
+ s = argv[i++]; \
+ int suffixlen = 0; \
+ sscanf(s, "%i", &suffixlen);
+
+#include "test-skel-0.c"