RTEMS: cpukit/include/rtems/print.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
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.
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.

## Detailed Description

User print interface to the bspIO print plug in.

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

## 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] | printer | Pointer to the printer structure.
  [in] | fmt | Print 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] | printer | Pointer to the printer structure.
  [in] | fmt | Print format string.
  [in] | ap | Print variable argument list pointer.

Returns
  int Number of characters printed.