RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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
20extern "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
38void rtems_rtl_set_error (int error, const char* format, ...) RTEMS_RTL_PRINTF_ATTR;
39
40#ifdef __cplusplus
41}
42#endif /* __cplusplus */
43
44#endif
void rtems_rtl_set_error(int error, const char *format,...) RTEMS_RTL_PRINTF_ATTR
Definition: rtl-error.c:29
Definition: mknod-pack_dev.c:254