µ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++ 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_EMBED_H_
13
#define POSIX_EMBED_H_
14
15
// ----------------------------------------------------------------------------
16
17
#include <unistd.h>
18
19
#if !defined(_POSIX_VERSION)
20
21
#ifdef __cplusplus
22
extern
"C"
23
{
24
#endif
25
26
// --------------------------------------------------------------------------
27
28
int
__attribute__ ((weak))
29
ioctl
(
int
fildes,
unsigned
long
request, ...);
30
31
void
32
sync
(
void
);
33
34
// --------------------------------------------------------------------------
35
36
#ifdef __cplusplus
37
}
38
#endif
39
40
#endif
/* !defined(_POSIX_VERSION) */
41
42
#endif
/* POSIX_EMBED_H_ */
sync
void sync(void)
ioctl
int ioctl(int fildes, unsigned long request,...)
include
cmsis-plus
posix
embed.h
Generated by
1.9.7