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

Set the character mappings for the streqv functions


streqvmap( from, to, ct );

Where the arguments are:

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.


This document was generated by Bruce Korb on August 21, 2015 using texi2html 1.82.