bsd-user: Add bsd-ioctl.h header
Add bsd-ioctl.h header declaring the public ioctl emulation API: do_bsd_ioctl() for processing ioctl system calls and init_bsd_ioctl() for initialization. Signed-off-by: Stacey Son <sson@FreeBSD.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> Signed-off-by: Warner Losh <imp@bsdimp.com>
Stacey Son committed
Mar 13, 2026 at 22:13 UTC
573028b263a487f149ba3fe583b6aa1c8f75ff22
1 file changed
+14
bsd-user/bsd-ioctl.h
new
+14
@@ -0,0 +1,14 @@
1
+/*
2
+ * ioctl system call definitions
3
+ *
4
+ * Copyright (c) 2013 Stacey D. Son
5
+ *
6
+ * SPDX-License-Identifier: GPL-2.0-or-later
7
+ */
8
+#ifndef BSD_IOCTL_H
9
+#define BSD_IOCTL_H
10
+
11
+abi_long do_bsd_ioctl(int fd, abi_long cmd, abi_long arg);
12
+void init_bsd_ioctl(void);
13
+
14
+#endif /* BSD_IOCTL_H */