Sign in
plan9port
/
plan9
/
32c6e78c6c4c13b63d8dc30aa395cfcc6e686c0a
/
.
/
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"
);
}