1 /* 2 * Copyright (c) 2019 Linaro Limited 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 #ifndef ZEPHYR_INCLUDE_POSIX_SYS_IOCTL_H_ 7 #define ZEPHYR_INCLUDE_POSIX_SYS_IOCTL_H_ 8 9 #include <zephyr/sys/fdtable.h> 10 11 #define FIONBIO ZFD_IOCTL_FIONBIO 12 #define FIONREAD ZFD_IOCTL_FIONREAD 13 14 #ifdef __cplusplus 15 extern "C" { 16 #endif 17 18 int ioctl(int fd, unsigned long request, ...); 19 20 #ifdef __cplusplus 21 } 22 #endif 23 24 #endif /* ZEPHYR_INCLUDE_POSIX_SYS_IOCTL_H_ */ 25