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

7.6.32.20 streqvmap

Set the character mappings for the streqv functions

Usage:

 
streqvmap( from, to, ct );

Where the arguments are:

NameTypeDescription
—–—–————-
fromcharInput character
tocharMapped-to character
ctintcompare 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 October 16, 2013 using texi2html 1.82.