Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
bwh
/
klibc
/
201dabf78546ca712d3541670a5d898dc199854e
/
.
/
usr
/
klibc
/
perror.c
blob: 317705743371013510960b7d886e855829f22d67 [
file
] [
log
] [
blame
]
/*
* perror.c
*/
#include
<errno.h>
#include
<stdio.h>
#include
<string.h>
void
perror
(
const
char
*
s
)
{
int
e
=
errno
;
fprintf
(
stderr
,
"%s: %s\n"
,
s
,
strerror
(
e
));
}