regexp.h

Go to the documentation of this file.
00001 /*
00002  * Definitions etc. for regexp(3) routines.
00003  *
00004  * Caveat:  this is V8 regexp(3) [actually, a reimplementation thereof],
00005  * not the System V one.
00006  */
00007 #define ushort  unsigned short
00008 #define CHARBITS 0xffff
00009 #define NSUBEXP  10
00010 typedef struct regexp {
00011         ushort *startp[NSUBEXP];
00012         ushort *endp[NSUBEXP];
00013         ushort regstart;                /* Internal use only. */
00014         ushort reganch;         /* Internal use only. */
00015         ushort *regmust;                /* Internal use only. */
00016         int regmlen;            /* Internal use only. */
00017         ushort program[1];      /* Unwarranted chumminess with compiler. */
00018 } regexp;
00019 
00020 extern regexp *regcomp();
00021 extern int regexec();
00022 extern int regsub();
00023 extern int regerror();

Generated on Fri Apr 14 22:56:41 2006 for minix by  doxygen 1.4.6