Ignore:
Timestamp:
Jan 18, 2004, 6:32:27 AM (22 years ago)
Author:
bird
Message:

Regexp update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/regexp.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r997 r998  
     1
     2
     3
     4
     5
     6
     7
     8
     9
     10
     11
     12
     13
     14
     15
     16
     17
     18
     19
     20
     21
     22
     23
     24
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
    148/*
    249 * Definitions etc. for regexp(3) routines.
     
    552 * not the System V one.
    653 */
    7 
    8 #ifndef _REGEXP_H
    9 #define _REGEXP_H
    10 
    11 #if defined (__cplusplus)
    12 extern "C" {
    13 #endif
    14 
    1554#define NSUBEXP  10
    1655typedef struct regexp {
     
    2463} regexp;
    2564
    26 extern regexp *regcomp();
    27 extern int regexec();
    28 extern void regsub();
    29 extern void regerror();
     65#include <sys/cdefs.h>
    3066
    31 #if defined (__cplusplus)
    32 }
    33 #endif
     67__BEGIN_DECLS
     68regexp *regcomp(const char *);
     69int regexec(const  regexp *, const char *);
     70void regsub(const  regexp *, const char *, char *);
     71void regerror(const char *);
     72__END_DECLS
    3473
    35 #endif /* not _REGEXP_H */
     74#endif /* */
Note: See TracChangeset for help on using the changeset viewer.