summaryrefslogtreecommitdiff
path: root/tests/headers/devctl.c
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/devctl.c
parent3b3325f761b09ebbfef04c44eed546cc4fdeb329 (diff)
Add mqueue rt api, add header tests
Diffstat (limited to 'tests/headers/devctl.c')
-rw-r--r--tests/headers/devctl.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/headers/devctl.c b/tests/headers/devctl.c
new file mode 100644
index 00000000..cf40ac37
--- /dev/null
+++ b/tests/headers/devctl.c
@@ -0,0 +1,13 @@
+// https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/devctl.h.html
+
+#include "core.h"
+
+#include <devctl.h>
+
+TEST(devctl_h)
+{
+ TYPE(size_t);
+
+ FUNCTION(posix_devctl,
+ FN(int, int, int, void *restrict, size_t, int *restrict));
+}