strxfrm
Aus cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody>| definiert in Header <string.h>
|
||
size_t strxfrm( const char *dest, const char *src, size_t count ); |
||
Verwandelt den nullterminierten byte String, auf den
src nach dem aktuellen Gebietsschema und kopiert die ersten count Zeichen des transformierten Kette bis zum Ziel, der Rückkehr seiner Länge .Original:
Transforms the null-terminated byte string pointed to by
src according to the current locale and copies the first count characters of the transformed string to destination, returning its length.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Alternativelly, kann die Funktion verwendet, um nur Abrufen der Länge, durch Angabe eines Null-Zeiger für
dest und 0 für count .Original:
Alternativelly, the function can be used to only retrieve the length, by specifying a null pointer for
dest and 0 for count.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Parameter
| dest | - | Zeiger auf die Byte-String, um die transformierte String zu kopieren
Original: pointer to the byte string to copy the transformed string to The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| src | - | Zeiger auf die null-terminierte Byte-String zu verwandeln
Original: pointer to the null-terminated byte string to transform The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| count | - | maximale Anzahl von Zeichen zu verwandeln
Original: maximum number of characters to transform The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Rückgabewert
Die Länge des transformierten Kette, ohne das abschließende Null-Zeichen .
Original:
The length of the transformed string, not including the terminating null-character.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Beispiel
| This section is incomplete Reason: no example |
Siehe auch
C++ documentation for strxfrm
|