[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.6.28.20 streqvmap

Set the character mappings for the streqv functions

Usage:

 
streqvmap( From, To, ct );

Where the arguments are:

Name

Type

Description

---

---

---------

From

char

Input character

To

char

Mapped-to character

ct

int

compare length

Set the character mapping. If the count (ct) is set to zero, then the map is cleared by setting all entries in the map to their index value. Otherwise, the "From" character is mapped to the "To" character. If ct is greater than 1, then From and To are incremented and the process repeated until ct entries have been set. For example,

 
streqvmap( 'a', 'A', 26 );

will alter the mapping so that all English lower case letters will map to upper case.

This function name is mapped to option_streqvmap so as to not conflict with the POSIX name space.

none.


This document was generated by Bruce Korb on September, 30 2006 using texi2html 1.76.

Viewable With Any Browser   autogen Home