Espacios de nombres
Variantes
Acciones

wcstok

De cppreference.com
< c‎ | string‎ | wide

 
 
 
Terminadas en nulo de ancho
Funciones
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
De manipulación de caracteres
Original:
Character manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Las conversiones a formatos numéricos
Original:
Conversions to numeric formats
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Cadena de manipulación
Original:
String manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Matriz de manipulación
Original:
Array manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
wmemcpy
wmemmove
wmemcmp
wmemchr
wmemset
 
Defined in header <wchar.h>
wchar_t* wcstok( wchar_t* str, const wchar_t* delim );
Busca el siguiente token de una cadena terminada en nulo todo apunta str. Los caracteres separadores son identificados por terminada en nulo todo apunta delim .
Original:
Finds the next token in a null-terminated wide string pointed to by str. The separator characters are identified by null-terminated wide string pointed to by delim.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Si str != NULL, la función busca el primer carácter amplio que no es separador. Este personaje es el principio de la' token. Entonces, la función busca el carácter separador de primera. Este personaje es el final del token. Función termina y devuelve si NULL final de str se encuentra antes de la final' token se encuentra. De lo contrario, un puntero al final de la' token se guarda en una ubicación estática para invocaciones posteriores. Este carácter se reemplaza por un carácter NULL y la función devuelve un puntero al comienzo de la muestra .
Original:
If str != NULL, the function searches for the first wide character which is not separator. This character is the beginning of the token. Then the function searches for the first separator character. This character is the end of the token. Function terminates and returns NULL if end of str is encountered before end of the token is found. Otherwise, a pointer to end of the token is saved in a static location for subsequent invocations. This character is then replaced by a NULL-character and the function returns a pointer to the beginning of the token.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Si str == NULL, la función continúa desde donde se quedó en la invocación anterior. El comportamiento es el mismo que si el puntero almacenado previamente se pasa como str .
Original:
If str == NULL, the function continues from where it left in previous invocation. The behavior is the same as if the previously stored pointer is passed as str.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Contenido

[editar] Parámetros

str -
puntero a la cadena terminada en nulo de ancho para acortar
Original:
pointer to the null-terminated wide string to tokenize
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
delim -
puntero a la cadena gama terminada en nulo identificar delimitadores
Original:
pointer to the null-terminated wide string identifying delimiters
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Valor de retorno

Puntero al comienzo de un token de si el final de cadena examinado no ha sido encontrado. Si no regresa NULL>
Original:
Pointer to the beginning of a token if the end of examined string has not been encountered. Otherwise returns NULL>
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Nota

La función no es seguro para subprocesos .
Original:
The function is not thread safe.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Ejemplo

[editar] Ver también