source: rtems/cpukit/libcsupport/src/printf_plugin.c @ e02d5dd9

4.115
Last change on this file since e02d5dd9 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 694 bytes
Line 
1/**
2 *  @file
3 *
4 *  @brief RTEMS Plugin Printf
5 *  @ingroup libcsupport
6 */
7
8/*
9 * Copyright (c) 2012 embedded brains GmbH.  All rights reserved.
10 *
11 *  embedded brains GmbH
12 *  Obere Lagerstr. 30
13 *  82178 Puchheim
14 *  Germany
15 *  <rtems@embedded-brains.de>
16 *
17 * The license and distribution terms for this file may be
18 * found in the file LICENSE in this distribution or at
19 * http://www.rtems.org/license/LICENSE.
20 */
21
22#ifdef HAVE_CONFIG_H
23  #include "config.h"
24#endif
25
26#include <rtems/bspIo.h>
27
28#include <stdio.h>
29
30int rtems_printf_plugin(void *context, const char *format, ...)
31{
32  int rv;
33  va_list ap;
34
35  va_start(ap, format);
36  rv = vprintf(format, ap);
37  va_end(ap);
38
39  return rv;
40}
Note: See TracBrowser for help on using the repository browser.