tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
memchr.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

auto memchr (void *ptr, int ch, etl::size_t n) -> void *
 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.
 
auto memchr (void const *ptr, int ch, etl::size_t n) -> void const *
 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.