.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "MATCH_ONE" "9" "09 October 2005" "" "" .SH NAME match_one \- Determines if a string matches a simple pattern .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int match_one (char * \fIs\fB, char * \fIp\fB, substring_t \fIargs[]\fB); \fR .SH "ARGUMENTS" .TP \fB\fIs\fB\fR the string to examine for presense of the pattern .TP \fB\fIp\fB\fR the string containing the pattern .TP \fB\fIargs[]\fB\fR array of MAX_OPT_ARGS &substring_t elements. Used to return match locations. .SH "DESCRIPTION" .PP Determines if the pattern \fIp\fR is present in string \fIs\fR\&. 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 \fIargs\fR array.