RTEMS  5.0.0
print.h
Go to the documentation of this file.
1 
9 /*
10  * Copyright (c) 2016 Chris Johns <chrisj@rtems.org>
11  * All rights reserved.
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 #ifndef _RTEMS_PRINT_H
19 #define _RTEMS_PRINT_H
20 
21 #include <rtems/score/basedefs.h>
22 
23 #include <stdarg.h>
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 typedef struct rtems_printer rtems_printer;
30 
48 extern int rtems_printf(const rtems_printer *printer,
49  const char *format,
50  ...) RTEMS_PRINTFLIKE(2, 3);
51 
62 extern int rtems_vprintf(const rtems_printer *printer,
63  const char *format,
64  va_list ap);
65 
68 #ifdef __cplusplus
69 }
70 #endif
71 
72 #endif /* _RTEMS_PRINT_H */
Definition: mknod-pack_dev.c:254
Definition: printer.h:55
#define RTEMS_PRINTFLIKE(_format_pos, _ap_pos)
Tells the compiler that this function expects printf()-like arguments.
Definition: basedefs.h:237
Basic Definitions.