OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [include/] [regexp.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
/*
2
 * Definitions etc. for regexp(3) routines.
3
 *
4
 * Caveat:  this is V8 regexp(3) [actually, a reimplementation thereof],
5
 * not the System V one.
6
 */
7
#define NSUBEXP  10
8
typedef struct regexp {
9
        char *startp[NSUBEXP];
10
        char *endp[NSUBEXP];
11
        char regstart;          /* Internal use only. */
12
        char reganch;           /* Internal use only. */
13
        char *regmust;          /* Internal use only. */
14
        int regmlen;            /* Internal use only. */
15
        char program[1];        /* Unwarranted chumminess with compiler. */
16
} regexp;
17
 
18
extern regexp *regcomp();
19
extern int regexec();
20
extern void regsub();
21
extern void regerror();

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.