Sign in
plan9port
/
plan9
/
2009374690190b95a29db0c31decd07f4652eb45
/
.
/
src
/
libregexp
/
regerror.c
blob: 2cd1e3e28c7b9d1a2ac2c4b94823e28f9a9bb12d [
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
));
exit
(
1
);
}