STRSPN

Section: ¸®´ª½º ÇÁ·Î±×·¡¸Ó ¸Å´º¾ó (3)
Updated: 1993³â 4¿ù 12ÀÏ
Index
Return to Main Contents
 

À̸§

strspn, strcspn - ¹®ÀÚ¿­À» ¹®ÀÚµéÀÇ ÁýÇÕ¿¡¼­ ã´Â´Ù.  

»ç¿ë¹ý

#include <string.h>

size_t strspn(const char *s, const char *accept);

size_t strcspn(const char *s, const char *reject);
 

¼³¸í

strspn() ÇÔ¼ö´Â ÀüüÀûÀ¸·Î accept¿¡ ÀÖ´Â ¹®ÀÚµé·Î ÀÌ·ç¾îÁ® ÀÖ´Â sÀÇ Ãʱ⠼¼±×¸ÕÆ®ÀÇ ±æÀ̸¦ °è»êÇÑ´Ù.

strcspn() ÇÔ¼ö´Â ÀüüÀûÀ¸·Î reject¿¡ ¾ø´Â ¹®ÀÚµé·Î ÀÌ·ç¾îÁ® ÀÖ´Â sÀÇ Ãʱ⠼¼±×¸ÕÆ®ÀÇ ±æÀ̸¦ °è»êÇÑ´Ù.  

¹Ýȯ°ª

strspn() ÇÔ¼ö´Â accept¿¡¼­ ¹®ÀÚµé·Î¸¸ ÀÌ·ç¾îÁ® ÀÖ´Â sÀÇ Ãʱ⠼¼±×¸ÕÆ®¿¡ ÀÖ´Â ¹®ÀÚµéÀÇ ¼ö¸¦ ¹ÝȯÇÑ´Ù.

strcspn() ÇÔ¼ö´Â ¹®ÀÚ¿­ reject¿¡´Â ¾ø´Â sÀÇ Ãʱ⠼¼±×¸ÕÆ®¿¡ ÀÖ´Â ¹®ÀÚµéÀÇ ¼ö¸¦ ¹ÝȯÇÑ´Ù.  

ȣȯ

SVID 3, POSIX, BSD 4.3, ISO 9899  

°ü·Ã Ç׸ñ

index(3), memchr(3), rindex(3), strchr(3), strpbrk(3), strsep(3), strstr(3), strtok(3)  

¿ªÀÚ

Á¤°­ÈÆ <skyeyes@soback.kornet.net>, 2001³â 2¿ù 24ÀÏ


 

Index

À̸§
»ç¿ë¹ý
¼³¸í
¹Ýȯ°ª
ȣȯ
°ü·Ã Ç׸ñ
¿ªÀÚ

This document was created by man2html, using the manual pages.
Time: 08:07:01 GMT, March 25, 2004