mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:56:38 +00:00
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>
This commit is contained in:
14
bsd-user/bsd-ioctl.h
Normal file
14
bsd-user/bsd-ioctl.h
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* ioctl system call definitions
|
||||
*
|
||||
* Copyright (c) 2013 Stacey D. Son
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
#ifndef BSD_IOCTL_H
|
||||
#define BSD_IOCTL_H
|
||||
|
||||
abi_long do_bsd_ioctl(int fd, abi_long cmd, abi_long arg);
|
||||
void init_bsd_ioctl(void);
|
||||
|
||||
#endif /* BSD_IOCTL_H */
|
||||
Reference in New Issue
Block a user