µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
stropts.h
Go to the documentation of this file.
1/*
2 * This file is part of the µOS++ distribution.
3 * (https://github.com/micro-os-plus)
4 * Copyright (c) 2015-2023 Liviu Ionescu. All rights reserved.
5 *
6 * Permission to use, copy, modify, and/or distribute this software
7 * for any purpose is hereby granted, under the terms of the MIT license.
8 *
9 * If a copy of the license was not distributed with this file, it can
10 * be obtained from https://opensource.org/licenses/mit/.
11 */
12
13#ifndef POSIX_STROPTS_H_
14#define POSIX_STROPTS_H_
15
16// ----------------------------------------------------------------------------
17
18#include <unistd.h>
19
20#if defined(_POSIX_VERSION)
21#include_next <stropts.h>
22// #include <sys/ioctl.h>
23#else
24
25#ifdef __cplusplus
26extern "C"
27{
28#endif
29
30// ----------------------------------------------------------------------------
31
32 int
33 ioctl (int fildes, int request, ...);
34
35// ----------------------------------------------------------------------------
36
37#ifdef __cplusplus
38}
39#endif
40
41#endif /* defined(_POSIX_VERSION) */
42
43#endif /* POSIX_STROPTS_H_ */
int ioctl(int fildes, int request,...)