RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Data Structures | Typedefs | Functions
printer.h File Reference

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

#include <rtems/print.h>
#include <rtems/chain.h>
#include <rtems/rtems/intr.h>
#include <rtems/rtems/tasks.h>
#include <stdio.h>
#include <string.h>

Go to the source code of this file.

Data Structures

struct  rtems_printer
 
struct  rtems_printer_task_context
 

Typedefs

typedef int(* rtems_print_printer) (void *, const char *format, va_list ap)
 

Functions

void rtems_print_printer_printk (rtems_printer *printer)
 Initializes the printer to print via printk().
 
void rtems_print_printer_printf (rtems_printer *printer)
 Initializes the printer to print via printf().
 
void rtems_print_printer_fprintf (rtems_printer *printer, FILE *file)
 Initializes the printer to print via fprintf() using the specified file stream.
 
void rtems_print_printer_fprintf_putc (rtems_printer *printer)
 Initializes the printer to print via fprintf() using an unbuffered FILE stream with output through rtems_putc().
 
int rtems_print_printer_task (rtems_printer *printer, rtems_printer_task_context *context)
 Creates a printer task.
 
void rtems_printer_task_drain (rtems_printer_task_context *context)
 Drains the work queue of the printer task.
 

Detailed Description

User print interface to the bspIO print plug in.

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