µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
redefinitions.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 CMSIS_PLUS_POSIX_IO_REDEFINITIONS_H_
14#define CMSIS_PLUS_POSIX_IO_REDEFINITIONS_H_
15
16// These definitions might be useful in some tests, to check
17// if both prefixed and not prefixed names are ok.
18
19#define __posix_accept accept
20#define __posix_bind bind
21#define __posix_chdir chdir
22#define __posix_chmod chmod
23#define __posix_chown chown
24#define __posix_clock clock
25#define __posix_close close
26#define __posix_closedir closedir
27#define __posix_connect connect
28#define __posix_execve execve
29#define __posix_fcntl fcntl
30#define __posix_fork fork
31#define __posix_fstat fstat
32#define __posix_ftruncate ftruncate
33#define __posix_fsync fsync
34#define __posix_getcwd getcwd
35#define __posix_getpeername getpeername
36#define __posix_getpid getpid
37#define __posix_getsockname getsockname
38#define __posix_getsockopt getsockopt
39#define __posix_gettimeofday gettimeofday
40#define __posix_ioctl ioctl
41#define __posix_isatty isatty
42#define __posix_kill kill
43#define __posix_link link
44#define __posix_listen listen
45#define __posix_lseek lseek
46#define __posix_mkdir mkdir
47#define __posix_open open
48#define __posix_opendir opendir
49#define __posix_raise raise
50#define __posix_read read
51#define __posix_readdir readdir
52#define __posix_readdir_r readdir_r
53#define __posix_readlink readlink
54#define __posix_recv recv
55#define __posix_recvfrom recvfrom
56#define __posix_recvmsg recvmsg
57#define __posix_rename rename
58#define __posix_rewinddir rewinddir
59#define __posix_rmdir rmdir
60#define __posix_select select
61#define __posix_send send
62#define __posix_sendmsg sendmsg
63#define __posix_sendto sendto
64#define __posix_setsockopt setsockopt
65#define __posix_shutdown shutdown
66#define __posix_sockatmark sockatmark
67#define __posix_socket socket
68#define __posix_socketpair socketpair
69#define __posix_stat stat
70#define __posix_symlink symlink
71#define __posix_sync sync
72#define __posix_system system
73#define __posix_times times
74#define __posix_truncate truncate
75#define __posix_unlink unlink
76#define __posix_utime utime
77#define __posix_wait wait
78#define __posix_write write
79#define __posix_writev writev
80
81#endif /* CMSIS_PLUS_POSIX_IO_REDEFINITIONS_H_ */