/* | |
* Copyright (c) 2019 Linaro Limited | |
* | |
* SPDX-License-Identifier: Apache-2.0 | |
*/ | |
#ifndef ZEPHYR_INCLUDE_POSIX_SYS_IOCTL_H_ | |
#define ZEPHYR_INCLUDE_POSIX_SYS_IOCTL_H_ | |
#include <zephyr/sys/fdtable.h> | |
#define FIONBIO ZFD_IOCTL_FIONBIO | |
#define FIONREAD ZFD_IOCTL_FIONREAD | |
#ifdef __cplusplus | |
extern "C" { | |
#endif | |
int ioctl(int fd, unsigned long request, ...); | |
#ifdef __cplusplus | |
} | |
#endif | |
#endif /* ZEPHYR_INCLUDE_POSIX_SYS_IOCTL_H_ */ |