µ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++ project (https://micro-os-plus.github.io/).
3 * Copyright (c) 2015-2025 Liviu Ionescu. All rights reserved.
4 *
5 * Permission to use, copy, modify, and/or distribute this software
6 * for any purpose is hereby granted, under the terms of the MIT license.
7 *
8 * If a copy of the license was not distributed with this file, it can
9 * be obtained from https://opensource.org/licenses/mit.
10 */
11
12#ifndef POSIX_STROPTS_H_
13#define POSIX_STROPTS_H_
14
15// ----------------------------------------------------------------------------
16
17#include <unistd.h>
18
19#if defined(_POSIX_VERSION)
20#include_next <stropts.h>
21// #include <sys/ioctl.h>
22#else
23
24#ifdef __cplusplus
25extern "C"
26{
27#endif
28
29 // --------------------------------------------------------------------------
30
31 int
32 ioctl (int fildes, int request, ...);
33
34 // --------------------------------------------------------------------------
35
36#ifdef __cplusplus
37}
38#endif
39
40#endif /* defined(_POSIX_VERSION) */
41
42#endif /* POSIX_STROPTS_H_ */
int ioctl(int fildes, int request,...)