| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Set the character mappings for the streqv functions
Usage:
streqvmap( From, To, ct ); |
Where the arguments are:
Name | Type | Description | |
--- | --- | --------- | |
From | | Input character | |
To | | Mapped-to character | |
ct | | 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 December, 15 2005 using texi2html 1.76.