File: regerror.c

package info (click to toggle)
speech-tools 1%3A1.2.3-8
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 7,784 kB
  • ctags: 9,792
  • sloc: cpp: 65,444; ansic: 12,081; java: 3,748; sh: 3,466; makefile: 1,138; lisp: 703; perl: 396; awk: 82; xml: 9
file content (17 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdio.h>
#include <stdlib.h>
#include "regexp.h"

void
hs_regerror(s)
const char *s;
{
#ifdef ERRAVAIL
	error("regexp: %s", s);
#else
	fprintf(stderr, "regexp(3): %s\n", s);
	exit(1);
	return;	  /* let std. egrep handle errors */
#endif
	/* NOTREACHED */
}