GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PATCOMPILE(3) Schily´s LIBRARY FUNCTIONS PATCOMPILE(3)

patcompile() - compiles a matching pattern

int patcompile(pattern, length, aux)
char *pattern;
int length;
int aux[];

patcompile() compiles a pattern into an internal form which patmatch(3) can use.

The string at pattern with size length is scanned. The array aux is filled in with state information for patmatch(3). aux should have at least length elements.

Returns 0 if the pattern contains an error.

Other values should be passed to patmatch(3) as the alt argument.

match(1)

For a description ot the regular expressions.

The pattern matching functions are based on ones presented by Martin Richards in "A Compact Function for Regular Expression Pattern Matching", Software-Practice and Experience vol 9, 527-534 (1979).
15. Juli 1988 Joerg Schilling

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.