Sign in
plan9port
/
plan9
/
50ababbd552abfa8ef3b16ccdaea54b58f5c031c
/
.
/
src
/
libregexp
/
regerror.c
blob: 99ff0c74b855898fd120e1f191106fe16c441ae5 [
file
] [
log
] [
blame
]
#include
"lib9.h"
#include
"regexp9.h"
void
regerror
(
char
*
s
)
{
char
buf
[
132
];
strcpy
(
buf
,
"regerror: "
);
strcat
(
buf
,
s
);
strcat
(
buf
,
"\n"
);
write
(
2
,
buf
,
strlen
(
buf
));
exits
(
"regerr"
);
}