From 7e0f021a9aec35fd8e6725e87e3313b101d26f5e Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 27 Jan 2008 11:37:44 +0100 Subject: Initial import (2.0.2-6) --- reference/C/MAN/memchr.htm | 103 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 reference/C/MAN/memchr.htm (limited to 'reference/C/MAN/memchr.htm') diff --git a/reference/C/MAN/memchr.htm b/reference/C/MAN/memchr.htm new file mode 100644 index 0000000..5c5148f --- /dev/null +++ b/reference/C/MAN/memchr.htm @@ -0,0 +1,103 @@ +memchr + +
+
+
+
+
+

MEMCHR(3) Linux Programmer's Manual MEMCHR(3) +

+ +

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 mem- + ory 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 + +
+
+

SEE ALSO +

+index, +rindex, +strchr, +strpbrk, +strrchr, +strsep, +strspn, +strstr, +

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

GNU April 12, 1993 1 +

+ +
+

+


+

+

+ + + + +
+Top + +Master Index + +Keywords + +Functions +
+
+

+


+ +This manual page was brought to you by mjl_man V-2.0 -- cgit v1.2.3-54-g00ecf