.\" -*- coding: UTF-8 -*- '\" t .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk) .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\" References consulted: .\" Linux libc source code .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991) .\" 386BSD man pages .\" Modified Sat Jul 24 17:56:43 1993 by Rik Faith (faith@cs.unc.edu) .\" Added history, aeb, 980113. .\" 2005-05-05 mtk: added strcasestr() .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH strstr 3 "20 ​​Julio 2023" "Páginas de manual de Linux 6.05.01" .SH NOMBRE strstr, strcasestr \- localiza una subcadena .SH BIBLIOTECA Biblioteca Estándar C (\fIlibc\fP, \fI\-lc\fP) .SH SINOPSIS .nf \fB#include \fP .PP \fBchar *strstr(const char *\fP\fIpajar\fP\fB, const char *\fP\fIaguja\fP\fB);\fP .PP \fB#define _GNU_SOURCE\fP /* Vea feature_test_macros(7) */ \fB#include \fP .PP \fBchar *strcasestr(const char *\fP\fIpajar\fP\fB, const char *\fP\fIaguja\fP\fB);\fP .fi .SH DESCRIPCIÓN La función \fBstrstr\fP() encuentra la primera ocurrencia de la subcadena \fIaguja\fP en la cadena \fIpajar\fP. Los caracteres de terminacion (\[aq]\e0\[aq] no se comparan. .PP The \fBstrcasestr\fP() function is like \fBstrstr\fP(), but ignores the case of both arguments. .SH "VALOR DEVUELTO" Estas funciones devuelven un puntero al comienzo de la subcadena o NULL si la subcadena no se encuentra. .PP If \fIneedle\fP is the empty string, the return value is always \fIhaystack\fP itself. .SH ATRIBUTOS Para obtener una explicación de los términos usados en esta sección, véase \fBattributes\fP(7). .TS allbox; lbx lb lb l l l. Interfaz Atributo Valor T{ .na .nh \fBstrstr\fP() T} Seguridad del hilo Multi\-hilo seguro T{ .na .nh \fBstrcasestr\fP() T} Seguridad del hilo Configuración regional de multi\-hilo seguro .TE .sp 1 .SH ESTÁNDARES .TP \fBstrstr\fP() C11, POSIX.1\-2008. .TP \fBstrcasestr\fP() GNU. .SH HISTORIAL .TP \fBstrstr\fP() POSIX.1\-2001, C89. .TP \fBstrcasestr\fP() GNU. .SH "VÉASE TAMBIÉN" \fBmemchr\fP(3), \fBmemmem\fP(3), \fBstrcasecmp\fP(3), \fBstrchr\fP(3), \fBstring\fP(3), \fBstrpbrk\fP(3), \fBstrsep\fP(3), \fBstrspn\fP(3), \fBstrtok\fP(3), \fBwcsstr\fP(3) .PP .SH TRADUCCIÓN La traducción al español de esta página del manual fue creada por Carlos Gomez Romero , Juan Piernas y Marcos Fouces . .PP Esta traducción es documentación libre; lea la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. .PP Si encuentra algún error en la traducción de esta página del manual, envíe un correo electrónico a .MT debian-l10n-spanish@lists.debian.org .ME .