Penguin
Annotated edit history of memchr(3) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 MEMCHR
2 !!!MEMCHR
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 CONFORMING TO
8 SEE ALSO
9 ----
10 !!NAME
11
12
13 memchr - scan memory for a character
14 !!SYNOPSIS
15
16
17 __#include
18 __''s''__, int__ ''c''__, size_t__ ''n''__);
19 __
20 !!DESCRIPTION
21
22
23 The __memchr()__ function scans the first ''n'' bytes
24 of the memory area pointed to by ''s'' for the character
25 ''c''. The first byte to match ''c'' (interpreted as
26 an unsigned character) stops the operation.
27 !!RETURN VALUE
28
29
30 The __memchr()__ function returns a pointer to the
31 matching byte or NULL if the character does not occur in the
32 given memory area.
33 !!CONFORMING TO
34
35
36 SVID 3, BSD 4.3, ISO 9899
37 !!SEE ALSO
38
39
40 index(3), rindex(3), strchr(3),
41 strpbrk(3), strrchr(3), strsep(3),
42 strspn(3), strstr(3)
43 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.