strxfrm
Da cppreference.com.
![]() | Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate. La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
Elemento definito nell'header <string.h> | ||
Trasforma il stringa null-terminated byte puntato da
src
in base alla localizzazione corrente e copia i caratteri count
prima della stringa trasformata in destinazione, restituendo la sua lunghezza.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, la funzione può essere utilizzata per recuperare solo la lunghezza, specificando un puntatore nullo per
dest
e 0 per 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.
Indice |
[modifica]Parametri
dest | - | puntatore alla stringa di byte per copiare la stringa trasformata 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 | - | puntatore alla stringa con terminazione null byte da trasformare 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 | - | il numero massimo di caratteri da trasformare 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. |
[modifica]Valore di ritorno
La lunghezza della stringa trasformato, escluso il carattere di terminazione null.
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.
[modifica]Esempio
This section is incomplete Reason: no example |
[modifica]Vedi anche
C++ documentation for strxfrm |