RTEMS  5.1
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 
50 extern int rtems_printf(const rtems_printer *printer,
51  const char *format,
52  ...) RTEMS_PRINTFLIKE(2, 3);
53 
64 extern int rtems_vprintf(const rtems_printer *printer,
65  const char *format,
66  va_list ap);
67 
70 #ifdef __cplusplus
71 }
72 #endif
73 
74 #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:249
Basic Definitions.