Man page - strstr(3)

Packages contains this manual

Available languages:

en fr pt_BR es pl ko ja ru ro de

Manual

strstr

이 름
라 이 브 러 리
μš” μ•½
μ„€ λͺ…
반 ν™˜ κ°’
속 μ„±
ν‘œ μ€€
이 λ ₯
μΆ” κ°€ μ°Έ μ‘°
번 μ—­

이 름

strstr, strcasestr - substring을 μ°Ύ λŠ” λ‹€

라 이 브 러 리

ν‘œ μ€€ C 라 이 브 러 리 ( libc , -lc )

μš” μ•½

#include <string.h>

char *strstr(const char * haystack , const char * needle );

#define _GNU_SOURCE /* See feature_test_macros(7) */
#include <string.h>

char *strcasestr(const char * haystack , const char * needle );

μ„€ λͺ…

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.

반 ν™˜ κ°’

These functions return a pointer to the beginning of the located substring, or NULL if the substring is not found.

If needle is the empty string, the return value is always haystack itself.

속 μ„±

이 μ„Ή μ…˜ 에 μ„œ 사 용 되 λŠ” 용 μ–΄ 에 λŒ€ ν•œ μ„€ λͺ… 은 attributes (7)을 μ°Έ μ‘° ν•˜ μ‹­ μ‹œ 였 .

Image grohtml-4017994-1.png

ν‘œ μ€€

strstr ()

C11, POSIX.1-2008.

strcasestr ()

GNU.

이 λ ₯

strstr ()

POSIX.1-2001, C89.

strcasestr ()

GNU.

μΆ” κ°€ μ°Έ μ‘°

memchr (3), memmem (3), strcasecmp (3), strchr (3), string (3), strpbrk (3), strsep (3), strspn (3), strtok (3), wcsstr (3)

번 μ—­

이 λ§€ 뉴 μ–Ό 페 이 μ§€ 의 ν•œ κ΅­ μ–΄ 번 μ—­ 은 λ‹€ 음 에 의 ν•΄ 편 μ§‘ 되 μ—ˆ 슡 λ‹ˆ λ‹€ : μ • κ°• ν›ˆ <skyeyes@soback.kornet.net>

이 번 μ—­ 은 무 료 λ¬Έ μ„œ μž… λ‹ˆ λ‹€ . μ € μž‘ ꢌ μ‘° 건 에 λŒ€ ν•΄ μ„œ λŠ” GNU General Public License 버 μ „ 3 이 상 을 읽 으 μ‹­ μ‹œ 였 . μ±… μž„ 이 μ—† 슡 λ‹ˆ λ‹€ .

이 λ§€ 뉴 μ–Ό 페 이 μ§€ 의 번 μ—­ 에 μ„œ 였 λ₯˜ λ₯Ό 발 견 ν•˜ λ©΄ translation-team-ko@googlegroups.com 둜 이 λ©” 일 을 보 λ‚΄ μ£Ό μ‹­ μ‹œ 였 .