.\" -*- 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 "2023년 7월 20일" "Linux man\-pages 6.05.01" .SH 이름 strstr, strcasestr \- substring을 찾는다 .SH 라이브러리 표준 C 라이브러리 (\fIlibc\fP, \fI\-lc\fP) .SH 요약 .nf \fB#include \fP .PP \fBchar *strstr(const char *\fP\fIhaystack\fP\fB, const char *\fP\fIneedle\fP\fB);\fP .PP \fB#define _GNU_SOURCE\fP /* See feature_test_macros(7) */ \fB#include \fP .PP \fBchar *strcasestr(const char *\fP\fIhaystack\fP\fB, const char *\fP\fIneedle\fP\fB);\fP .fi .SH 설명 The \fBstrstr\fP() function finds the first occurrence of the substring \fIneedle\fP in the string \fIhaystack\fP. The terminating null bytes (\[aq]\e0\[aq]) are not compared. .PP The \fBstrcasestr\fP() function is like \fBstrstr\fP(), but ignores the case of both arguments. .SH 반환값 These functions return a pointer to the beginning of the located substring, or NULL if the substring is not found. .PP If \fIneedle\fP is the empty string, the return value is always \fIhaystack\fP itself. .SH 속성 이 섹션에서 사용되는 용어에 대한 설명은 \fBattributes\fP(7)을 참조하십시오. .TS allbox; lbx lb lb l l l. 상호 작용 속성 번호 T{ .na .nh \fBstrstr\fP() T} Thread safety MT\-Safe T{ .na .nh \fBstrcasestr\fP() T} Thread safety MT\-Safe locale .TE .sp 1 .SH 표준 .TP \fBstrstr\fP() C11, POSIX.1\-2008. .TP \fBstrcasestr\fP() GNU. .SH 이력 .TP \fBstrstr\fP() POSIX.1\-2001, C89. .TP \fBstrcasestr\fP() GNU. .SH "추가 참조" \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 번역 이 매뉴얼 페이지의 한국어 번역은 다음에 의해 편집되었습니다: 정강훈 . .PP 이 번역은 무료 문서입니다. 저작권 조건에 대해서는 .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License 버전 3 .UE 이상을 읽으십시오. 책임이 없습니다. .PP 이 매뉴얼 페이지의 번역에서 오류를 발견하면 .MT translation-team-ko@googlegroups.com .ME 로 이메일을 보내주십시오.