posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
Loading...
Searching...
No Matches
ioctl.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2019 Linaro Limited
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
20#ifndef ZEPHYR_INCLUDE_POSIX_SYS_IOCTL_H_
21#define ZEPHYR_INCLUDE_POSIX_SYS_IOCTL_H_
22
23#include <zephyr/sys/fdtable.h>
24
26#define FIONBIO ZFD_IOCTL_FIONBIO
28#define FIONREAD ZFD_IOCTL_FIONREAD
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
44int ioctl(int fd, unsigned long request, ...);
45
46
47#ifdef __cplusplus
48}
49#endif
50
51#endif /* ZEPHYR_INCLUDE_POSIX_SYS_IOCTL_H_ */
int ioctl(int fd, unsigned long request,...)
Perform a device-specific control operation.