µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
embed.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_EMBED_H_
14#define POSIX_EMBED_H_
15
16// ----------------------------------------------------------------------------
17
18#include <unistd.h>
19
20#if !defined(_POSIX_VERSION)
21
22#ifdef __cplusplus
23extern "C"
24{
25#endif
26
27// ----------------------------------------------------------------------------
28
29 int __attribute__((weak))
30 ioctl (int fildes, unsigned long request, ...);
31
32 void
33 sync (void);
34
35// ----------------------------------------------------------------------------
36
37#ifdef __cplusplus
38}
39#endif
40
41#endif /* !defined(_POSIX_VERSION) */
42
43#endif /* POSIX_EMBED_H_ */
void sync(void)
int ioctl(int fildes, unsigned long request,...)