2fe8fb192f
There is important information about booting non-ack images in docs/UPDATING. ack/aout-format images can't be built any more, and booting clang/ELF-format ones is a little different. Updating to the new boot monitor is recommended. Changes in this commit: . drop boot monitor -> allowing dropping ack support . facility to copy ELF boot files to /boot so that old boot monitor can still boot fairly easily, see UPDATING . no more ack-format libraries -> single-case libraries . some cleanup of OBJECT_FMT, COMPILER_TYPE, etc cases . drop several ack toolchain commands, but not all support commands (e.g. aal is gone but acksize is not yet). . a few libc files moved to netbsd libc dir . new /bin/date as minix date used code in libc/ . test compile fix . harmonize includes . /usr/lib is no longer special: without ack, /usr/lib plays no kind of special bootstrapping role any more and bootstrapping is done exclusively through packages, so releases depend even less on the state of the machine making them now. . rename nbsd_lib* to lib* . reduce mtree
37 lines
1 KiB
C
37 lines
1 KiB
C
/* The <regexp.h> header is used by the (V8-compatible) regexp(3) routines. */
|
|
/* NOTE: Obsoleted by the POSIX regex(3) library. */
|
|
|
|
#ifndef _REGEXP_H
|
|
#define _REGEXP_H
|
|
|
|
#include <sys/cdefs.h>
|
|
|
|
#define CHARBITS 0377
|
|
#define NSUBEXP 10
|
|
typedef struct regexp {
|
|
const char *startp[NSUBEXP];
|
|
const char *endp[NSUBEXP];
|
|
char regstart; /* Internal use only. */
|
|
char reganch; /* Internal use only. */
|
|
char *regmust; /* Internal use only. */
|
|
int regmlen; /* Internal use only. */
|
|
char program[1]; /* Unwarranted chumminess with compiler. */
|
|
} regexp;
|
|
|
|
/* Keep these functions away from the POSIX versions. */
|
|
#define regcomp _v8_regcomp
|
|
#define regexec _v8_regexec
|
|
#define regsub _v8_regsub
|
|
#define regerror _v8_regerror
|
|
|
|
/* Function Prototypes. */
|
|
regexp *regcomp(const char *_exp);
|
|
int regexec(regexp *_prog, const char *_string, int _bolflag);
|
|
void regsub(regexp *_prog, char *_source, char *_dest);
|
|
void regerror(const char *_message) ;
|
|
|
|
#endif /* _REGEXP_H */
|
|
|
|
/*
|
|
* $PchId: regexp.h,v 1.4 1996/04/10 21:43:17 philip Exp $
|
|
*/
|