RTEMS CPU Kit with SuperCore
4.11.2
mnt
data0
chrisj
rtems
releases
rtems-release.git
4.11.2
ws-rtems
rtems-4.11.2
cpukit
libdl
rtl-error.h
Go to the documentation of this file.
1
/*
2
* COPYRIGHT (c) 2012 Chris Johns <chrisj@rtems.org>
3
*
4
* The license and distribution terms for this file may be
5
* found in the file LICENSE in this distribution or at
6
* http://www.rtems.org/license/LICENSE.
7
*/
16
#if !defined (_RTEMS_RTL_ERROR_H_)
17
#define _RTEMS_RTL_ERROR_H_
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
/* __cplusplus */
22
23
#if __GNUC__
24
#define RTEMS_RTL_PRINTF_ATTR __attribute__((__format__(__printf__,2,3)))
25
#else
26
#define RTEMS_RTL_PRINTF_ATTR
27
#endif
28
38
void
rtems_rtl_set_error
(
int
error,
const
char
*
format
, ...) RTEMS_RTL_PRINTF_ATTR;
39
40
#ifdef __cplusplus
41
}
42
#endif
/* __cplusplus */
43
44
#endif
format
Definition:
mknod-pack_dev.c:255
rtems_rtl_set_error
void rtems_rtl_set_error(int error, const char *format,...) RTEMS_RTL_PRINTF_ATTR
Sets the error.
Definition:
rtl-error.c:28
Generated by
1.8.13