Changeset 7bec7f27 in rtems


Ignore:
Timestamp:
Oct 26, 2017, 11:59:06 AM (18 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
73d892d8
Parents:
f703e7f
git-author:
Sebastian Huber <sebastian.huber@…> (10/26/17 11:59:06)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/28/17 11:33:55)
Message:

rtems: Add rtems_print_printer_fprintf_putc()

Update #3170.
Update #3199.

Location:
cpukit
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/printer.h

    rf703e7f r7bec7f27  
    7575
    7676/**
    77  * @brief Initializes the rtems_printer struct to empty.
     77 * @brief Initializes the printer to print nothing.
    7878 *
    7979 * An empty printer prints nothing. You can use this to implement an enable and
     
    8989
    9090/**
    91  * @brief Initializes the rtems_printer struct to printk
    92  *
    93  * The printer will output to the kernel printk support.
     91 * @brief Initializes the printer to print via printk().
    9492 *
    9593 * @param[in] printer Pointer to the printer structure.
     
    9896
    9997/**
    100  * @brief Initializes the rtems_printer struct to printf
    101  *
    102  * The printer will output to the libc printf support.
    103  *
    104  * @param[in] printer Pointer to the printer structure.
    105  */
    106 extern void rtems_print_printer_printf(rtems_printer *printer);
    107 
    108 /**
    109  * @brief Initializes the rtems_printer struct to a fprintf device.
    110  *
    111  * The printer will output to the libc fprintf file provided.
    112  *
    113  * @param[in] printer Pointer to the printer structure.
    114  */
    115 extern void rtems_print_printer_fprintf(rtems_printer *printer, FILE *file);
     98 * @brief Initializes the printer to print via printf().
     99 *
     100 * @param[in] printer Pointer to the printer structure.
     101 */
     102void rtems_print_printer_printf(rtems_printer *printer);
     103
     104/**
     105 * @brief Initializes the printer to print via fprintf() using the specified
     106 * file stream.
     107 *
     108 * @param[in] printer Pointer to the printer structure.
     109 */
     110void rtems_print_printer_fprintf(rtems_printer *printer, FILE *file);
     111
     112/**
     113 * @brief Initializes the printer to print via fprintf() using an unbuffered
     114 * FILE stream with output through rtems_putc().
     115 *
     116 * @param[in] printer Pointer to the printer structure.
     117 */
     118void rtems_print_printer_fprintf_putc(rtems_printer *printer);
    116119
    117120typedef struct {
  • cpukit/libcsupport/Makefile.am

    rf703e7f r7bec7f27  
    140140    $(ERROR_C_FILES) $(ASSOCIATION_C_FILES)
    141141libcsupport_a_SOURCES += src/printertask.c
     142libcsupport_a_SOURCES += src/printerfprintfputc.c
    142143
    143144libcsupport_a_SOURCES += $(LIBC_GLUE_C_FILES) $(PASSWORD_GROUP_C_FILES) \
Note: See TracChangeset for help on using the changeset viewer.