RTEMS
cpukit
score
src
ioprintf.c
1
/*
2
* Copyright (c) 2017 embedded brains GmbH. All rights reserved.
3
*
4
* embedded brains GmbH
5
* Dornierstr. 4
6
* 82178 Puchheim
7
* Germany
8
* <rtems@embedded-brains.de>
9
*
10
* The license and distribution terms for this file may be
11
* found in the file LICENSE in this distribution or at
12
* http://www.rtems.org/license/LICENSE.
13
*/
14
15
#ifdef HAVE_CONFIG_H
16
#include "config.h"
17
#endif
18
19
#include <rtems/score/io.h>
20
21
int
_IO_Printf( IO_Put_char put_char,
void
*arg,
char
const
*fmt, ... )
22
{
23
va_list ap;
24
int
len;
25
26
va_start( ap, fmt );
27
len = _IO_Vprintf( put_char, arg, fmt, ap );
28
va_end( ap );
29
30
return
len;
31
}
Generated by
1.8.14