tolower

strxfrm

#include <string.h>size_t strxfrm(char *str1, const char *str2, size_t count);

The strxfrm( ) function transforms the string pointed to by str2 so that it can be used by the strcmp( ) function and puts the result into the string pointed to by str1. After the transformation, the outcome of a strcmp( ) using str1 and a strcoll( ) using the original string pointed to by str2 will be the same. Not more than count characters are written to the array pointed to by str1.

In C99, str1 and str2 are qualified by restrict.

The strxfrm( ) function returns the length of the transformed string.

A related function is strcoll( ).




C(s)C++ Programmer's Reference
C Programming on the IBM PC (C Programmers Reference Guide Series)
ISBN: 0673462897
EAN: 2147483647
Year: 2002
Pages: 539

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net