Shexp_Casecmp; Shexp_Cmp - Netscape ENTERPRISE SERVER 6.1 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

shexp_casecmp

The
shexp_casecmp
it with a specified string. It returns one of three possible values representing match,
no match, and invalid comparison. The comparison (in contrast to that of the
function) is not case-sensitive.

shexp_cmp

Use this function if you have a shell expression like
to make sure that a string matches it, such as
Syntax
int shexp_casecmp(char *str, char *exp);
Returns
if a match was found.
0
if no match was found.
1
if the comparison resulted in an invalid expression.
-1
Parameters
is the string to be compared.
char *str
is the shell expression (wildcard pattern) to compare against.
char *exp
See also
shexp_cmp, shexp_match, shexp_valid
shexp_cmp
The
shexp_casecmp
it with a specified string. It returns one of three possible values representing match,
no match, and invalid comparison. The comparison (in contrast to that of the
function) is case-sensitive.
shexp_casecmp
Use this function if you have a shell expression like
to make sure that a string matches it, such as
Syntax
int shexp_cmp(char *str, char *exp);
Returns
if a match was found.
0
if no match was found.
1
if the comparison resulted in an invalid expression.
-1
function validates a specified shell expression and compares
function validates a specified shell expression and compares
NSAPI Functions (in Alphabetical Order)
*.example.com
.
foo.example.com
*.example.com
.
foo.example.com
Chapter 5
NSAPI Function Reference
and you want
and you want
179

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.1

Table of Contents