5
Last change
on this file since 529b08a7 was
529b08a7,
checked in by Sebastian Huber <sebastian.huber@…>, on 12/15/15 at 08:38:31
|
posix: Delete empty _POSIX_API_Initialize()
|
-
Property mode set to
100644
|
File size:
601 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief Initialize POSIX API |
---|
5 | * |
---|
6 | * @ingroup ClassicRTEMS |
---|
7 | */ |
---|
8 | |
---|
9 | /* |
---|
10 | * COPYRIGHT (c) 1989-2014. |
---|
11 | * On-Line Applications Research Corporation (OAR). |
---|
12 | * |
---|
13 | * The license and distribution terms for this file may be |
---|
14 | * found in the file LICENSE in this distribution or at |
---|
15 | * http://www.rtems.org/license/LICENSE. |
---|
16 | */ |
---|
17 | |
---|
18 | #if HAVE_CONFIG_H |
---|
19 | #include "config.h" |
---|
20 | #endif |
---|
21 | |
---|
22 | #include <rtems/posix/posixapi.h> |
---|
23 | |
---|
24 | void _POSIX_Fatal_error( POSIX_Fatal_domain domain, int eno ) |
---|
25 | { |
---|
26 | uint32_t code = ( domain << 8 ) | ( ( uint32_t ) eno & 0xffU ); |
---|
27 | |
---|
28 | _Terminate( INTERNAL_ERROR_POSIX_API, false, code ); |
---|
29 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.