strxfrm [C++ Reference]
Keywords: c,string,strxfrm
Date: 2008-10-14T15:42:03-0700

[[strxfrm]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## strxfrm

Syntax:

        #include <cstring>
        size_t strxfrm( char *str1, const char *str2, size_t num );

The strxfrm() function manipulates the first num characters of str2 and stores them in str1. The result is such that if a strcoll() is performed on str1 and the old str2, you will get the same result as with a strcmp().

Related Topics: strcmp, strcoll

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •