source: trunk/minix/commands/cawf/regerror.c@ 15

Last change on this file since 15 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 299 bytes
Line 
1#include <stdio.h>
2#include "regexp.h"
3#include "proto.h"
4
5void
6regerror(s)
7char *s;
8{
9#ifndef DOSPORT
10#ifdef ERRAVAIL
11 error("regexp: %s", s);
12#else
13 fprintf(stderr, "regexp(3): %s", s);
14 exit(1);
15#endif
16 /* NOTREACHED */
17#endif /* ifdef'd out for less's sake when reporting error inside less */
18}
Note: See TracBrowser for help on using the repository browser.