RTEMS
Typedefs | Functions
print.h File Reference

User print interface to the bspIO print plug in. More...

#include <rtems/score/basedefs.h>
#include <stdarg.h>

Go to the source code of this file.

Typedefs

typedef struct rtems_printer rtems_printer
 

Functions

int rtems_printf (const rtems_printer *printer, const char *format,...) RTEMS_PRINTFLIKE(2
 Print to the kernel plugin handler. This has to be a macro because there is no vprint version of the plug in handlers. More...
 
int int rtems_vprintf (const rtems_printer *printer, const char *format, va_list ap)
 Print to the kernel plugin handler. This has to be a macro because there is no vprint version of the plug in handlers. More...
 

Detailed Description

User print interface to the bspIO print plug in.

This include file defines the user interface to kernel print methods.

Definition in file print.h.

Function Documentation

◆ rtems_printf()

int rtems_printf ( const rtems_printer printer,
const char *  format,
  ... 
)

Print to the kernel plugin handler. This has to be a macro because there is no vprint version of the plug in handlers.

Parameters
[in]printerPointer to the printer structure.
[in]fmtPrint format string.
[in]...Print variable argument list.
Returns
int Number of characters printed.

◆ rtems_vprintf()

int int rtems_vprintf ( const rtems_printer printer,
const char *  format,
va_list  ap 
)

Print to the kernel plugin handler. This has to be a macro because there is no vprint version of the plug in handlers.

Parameters
[in]printerPointer to the printer structure.
[in]fmtPrint format string.
[in]apPrint variable argument list pointer.
Returns
int Number of characters printed.

Definition at line 23 of file print_printf.c.