MATCH_ONE

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

match_one - Determines if a string matches a simple pattern  

SYNOPSIS

"SYNOPSIS"

int match_one (char * s, char * p, substring_t args[]);  

ARGUMENTS

s
the string to examine for presense of the pattern
p
the string containing the pattern
args[]
array of MAX_OPT_ARGS &substring_t elements. Used to return match locations.
 

DESCRIPTION

Determines if the pattern p is present in string s. Can only match extremely simple token=arg style patterns. If the pattern is found, the location(s) of the arguments will be returned in the args array.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:27 GMT, October 09, 2005