Files | Functions

Vstring class

Provides a collection of useful non-ANSI string functions. More...

Files

file  vstring.h
 

Contains declarations for class Vstring.


Functions

VEXTERNC int Vstring_strcasecmp (const char *s1, const char *s2)
 Case-insensitive string comparison (BSD standard)
VEXTERNC int Vstring_isdigit (const char *tok)
 A modified sscanf that examines the complete string.

Detailed Description

Provides a collection of useful non-ANSI string functions.


Function Documentation

VEXTERNC int Vstring_isdigit ( const char *  tok )

A modified sscanf that examines the complete string.

Author:
Todd Dolinsky
Parameters:
tokThe string to examine
Returns:
1 if the entire string is an integer, 0 if otherwise.

Definition at line 76 of file vstring.c.

VEXTERNC int Vstring_strcasecmp ( const char *  s1,
const char *  s2 
)

Case-insensitive string comparison (BSD standard)

Author:
Copyright (c) 1988-1993 The Regents of the University of California. Copyright (c) 1995-1996 Sun Microsystems, Inc.
Note:
Copyright (c) 1988-1993 The Regents of the University of California. Copyright (c) 1995-1996 Sun Microsystems, Inc.
Parameters:
s1First string for comparison
s2Second string for comparison
Returns:
An integer less than, equal to, or greater than zero if s1 is found, respectively, to be less than, to match, or be greater than s2. (Source: Linux man pages)

Definition at line 12 of file vstring.c.

Here is the caller graph for this function: