Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
morse
/
kvm-unit-tests
/
a3307eb5dbdba6b657a0d9b19eb9bc0c05d04add
/
.
/
lib
/
getchar.c
blob: 26f6b6babdb8bff305b0a6d775d520e06bc943a7 [
file
] [
log
] [
blame
]
#include
"libcflat.h"
#include
"asm/barrier.h"
int
getchar
(
void
)
{
int
c
;
while
((
c
=
__getchar
())
==
-
1
)
cpu_relax
();
return
c
;
}