RTEMS
vprintk.c
Go to the documentation of this file.
1 
8 /*
9  * Copyright (c) 2017 embedded brains GmbH. All rights reserved.
10  *
11  * embedded brains GmbH
12  * Dornierstr. 4
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 #include <rtems/score/io.h>
28 
29 int vprintk( const char *fmt, va_list ap )
30 {
31  return _IO_Vprintf( rtems_put_char, NULL, fmt, ap );
32 }
int vprintk(const char *fmt, va_list ap)
Variable Argument printk()
Definition: vprintk.c:29
Interface to Kernel Print Methods.
void rtems_put_char(int c, void *arg)
Puts the character via rtems_putc().