memchr
cppreference.com
[] |
Google. . , . , . |
<metanoindex/>
<tbody> </tbody> <string.h>
|
||
const void* memchr( const void* ptr, int ch, size_t count ); |
||
void* memchr( void* ptr, int ch, size_t count ); |
||
ch unsigned char count ( unsigned char) , ptr. :
Converts
ch to unsigned char and locates the first occurrence of that value in the initial count characters (each interpreted as unsigned char) of the object pointed to by ptr. | ptr | ||
| ch | ||
| count |
, NULL .
| : |
.
| () | |
C++ memchr
| |