Linux repositories inspector
GNU
April 12, 1993
Aliases: memrchr(3), memrchr(3), memrchr(3), memrchr(3), memrchr(3), memrchr(3), memrchr(3), memrchr(3), memrchr(3), memrchr(3), memrchr(3), memrchr(3), rawmemchr(3), rawmemchr(3), rawmemchr(3), rawmemchr(3), rawmemchr(3), rawmemchr(3), rawmemchr(3), rawmemchr(3), rawmemchr(3), rawmemchr(3)

manpages-pt-dev

Portuguese Versions of the Manual Pages (dev sections)

manpages-dev

Manual pages about using GNU/Linux for development

man-pages

Linux kernel and C library user-space interface documentation

NAME

memchr - scan memory for a character

SYNOPSIS

#include <string.h>

void *memchr(const void *s, int c, size_t n);

DESCRIPTION

The memchr() function scans the first n bytes of the memory area pointed to by s for the character c. The first byte to match c (interpreted as an unsigned character) stops the operation.

RETURN VALUE

The memchr() function returns a pointer to the matching byte or NULL if the character does not occur in the given memory area.

CONFORMING TO

SVID 3, BSD 4.3, ISO 9899
⇧ Top