| ||||||
| void *memchr | (const void *blok, int c, size_t boyut) |
| wchar_t *wmemchr | (const wchar_t *blok, wchar_t wc, size_t boyut) |
| void *rawmemchr | (const void *blok, int c) |
rawmemchr (str, '\0')
| void *memrchr | (const void *blok, int c, size_t boyut) |
| char *strchr | (const char *dizge, int c) |
strchr ("hello, world", 'l')
=> "llo, world"
strchr ("hello, world", '?')
=> NULL
| wchar_t *wcschr | (const wchar_t *dizge-geniş, int wc) |
| char *strchrnul | (const char *dizge, int c) |
| wchar_t *wcschrnul | (const wchar_t *dizge-geniş, wchar_t wc) |
s += strlen (s);
s = strchr (s, '\0');
| char *strrchr | (const char *dizge, int c) |
strrchr ("hello, world", 'l')
=> "ld"
| wchar_t *wcsrchr | (const wchar_t *dizge-geniş, wchar_t c) |
| char *strstr | (const char *dizge, const char *altdizge) |
strstr ("hello, world", "l")
=> "llo, world"
strstr ("hello, world", "wo")
=> "world"
| wchar_t *wcsstr | (const wchar_t *dizge, const wchar_t *altdizge) |
| wchar_t *wcswcs | (const wchar_t *dizge, const wchar_t *altdizge) |
| char *strcasestr | (const char *dizge, const char *altdizge) |
strcasestr ("hello, world", "L")
=> "llo, world"
strcasestr ("hello, World", "wo")
=> "World"
| void *memmem | (const void *dizge, size_t dizge-uzunluğu, const void *altdizge, size_t altdizge-uzunluğu) |
| size_t strspn | (const char *dizge, const char *arananlar) |
strspn ("hello, world", "abcdefghijklmnopqrstuvwxyz")
=> 5
| size_t wcsspn | (const wchar_t *dizge-geniş, const wchar_t *arananlar) |
| size_t strcspn | (const char *dizge, const char *arananlar) |
strcspn ("hello, world", " \t\n,.;!?")
=> 5
| size_t wcscspn | (const wchar_t *dizge-geniş, const wchar_t *arananlar) |
| char *strpbrk | (const char *dizge, const char *arananlar) |
strpbrk ("hello, world", " \t\n,.;!?")
=> ", world"
| wchar_t *wcspbrk | (const wchar_t *dizge-geniş, const wchar_t *arananlar) |
| |||||||||