summaryrefslogtreecommitdiff
path: root/tests/headers/iconv.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/iconv.h')
-rw-r--r--tests/headers/iconv.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/headers/iconv.h b/tests/headers/iconv.h
new file mode 100644
index 00000000..904731fc
--- /dev/null
+++ b/tests/headers/iconv.h
@@ -0,0 +1,16 @@
+// https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/iconv.h.html
+
+#include "core.h"
+
+#include <iconv.h>
+
+TEST(iconv_h)
+{
+ TYPE(iconv_t);
+ TYPE(size_t);
+
+ FUNCTION(iconv,
+ FN(size_t, iconv_t, char **, size_t *, char **, size_t *));
+ FUNCTION(iconv_close, FN(int, iconv_t));
+ FUNCTION(iconv_open, FN(iconv_t, const char *, const char *));
+}