RTEMS
Main Page
Related Pages
Modules
+
Classes
Class List
Class Index
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Functions
_
b
c
g
m
p
r
s
t
u
v
+
Variables
_
b
c
r
+
Typedefs
b
c
f
h
i
o
p
r
s
t
u
w
+
Enumerations
c
h
i
m
o
p
r
s
t
w
+
Enumerator
c
h
i
m
p
r
s
t
w
+
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
w
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
cpukit
libcsupport
src
printk.c
Go to the documentation of this file.
1
8
/*
9
* (C) Copyright 1997 -
10
* - NavIST Group - Real-Time Distributed Systems and Industrial Automation
11
*
12
* http://pandora.ist.utl.pt
13
*
14
* Instituto Superior Tecnico * Lisboa * PORTUGAL
15
*
16
* Disclaimer:
17
*
18
* This file is provided "AS IS" without warranty of any kind, either
19
* expressed or implied.
20
*
21
* This code is based on code by: Jose Rufino - IST
22
*/
23
24
#ifdef HAVE_CONFIG_H
25
#include "config.h"
26
#endif
27
28
#include <stdarg.h>
29
#include <stdio.h>
30
#include <
rtems/bspIo.h
>
31
35
int
printk
(
const
char
*fmt, ...)
36
{
37
va_list ap;
/* points to each unnamed argument in turn */
38
int
len;
39
va_start(ap, fmt);
/* make ap point to 1st unnamed arg */
40
len =
vprintk
(fmt, ap);
41
va_end(ap);
/* clean up when done */
42
return
len;
43
}
printk
int printk(const char *fmt,...)
Definition:
printk.c:35
vprintk
int vprintk(const char *fmt, va_list ap)
Variable Argument printk()
Definition:
vprintk.c:29
bspIo.h
Interface to Kernel Print Methods.
Generated by
1.8.14