summaryrefslogtreecommitdiff
path: root/tests/headers/iconv.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-15 14:42:29 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-15 14:42:29 +0100
commit7cd3b7caee10d62f7be674afb86a136bf30485d6 (patch)
tree121a8c79114174b765713387187d930b102f760f /tests/headers/iconv.h
parent3b3325f761b09ebbfef04c44eed546cc4fdeb329 (diff)
Add mqueue rt api, add header tests
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 *));
+}