Provided by: manpages-es-dev_4.13-4_all 

NOMBRE
strstr, strcasestr - localiza una subcadena
SINOPSIS
#include <string.h> char *strstr(const char *haystack, const char *needle); #define _GNU_SOURCE /* Vea feature_test_macros(7) */ #include <string.h> char *strcasestr(const char *haystack, const char *needle);
DESCRIPCIÓN
The strstr() function finds the first occurrence of the substring needle in the string haystack. The terminating null bytes ('\0') are not compared. The strcasestr() function is like strstr(), but ignores the case of both arguments.
VALOR DEVUELTO
These functions return a pointer to the beginning of the located substring, or NULL if the substring is not found.
ATRIBUTOS
Para obtener una explicación de los términos usados en esta sección, véase attributes(7). ┌─────────────┬────────────────────┬─────────────────────────────────────────────┐ │Interfaz │ Atributo │ Valor │ ├─────────────┼────────────────────┼─────────────────────────────────────────────┤ │strstr() │ Seguridad del hilo │ Multi-hilo seguro │ ├─────────────┼────────────────────┼─────────────────────────────────────────────┤ │strcasestr() │ Seguridad del hilo │ Configuración regional de multi-hilo seguro │ └─────────────┴────────────────────┴─────────────────────────────────────────────┘
CONFORME A
strstr(): POSIX.1-2001, POSIX.1-2008, C89, C99. The strcasestr() function is a nonstandard extension.
VÉASE TAMBIÉN
index(3), memchr(3), memmem(3), rindex(3), strcasecmp(3), strchr(3), string(3), strpbrk(3), strsep(3), strspn(3), strtok(3), wcsstr(3)
COLOFÓN
Esta página es parte de la versión 5.10 del proyecto Linux man-pages. Puede encontrar una descripción del proyecto, información sobre cómo informar errores y la última versión de esta página en https://www.kernel.org/doc/man-pages/.
TRADUCCIÓN
La traducción al español de esta página del manual fue creada por Carlos Gomez Romero <cgomez@databasedm.es> y Juan Piernas <piernas@ditec.um.es> Esta traducción es documentación libre; lea la GNU General Public License Version 3 ⟨https://www.gnu.org/licenses/gpl-3.0.html⟩ o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. Si encuentra algún error en la traducción de esta página del manual, envíe un correo electrónico a debian-l10n-spanish@lists.debian.org ⟨⟩.