|
NAMEmemchr —
locate byte in byte string
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <string.h>
void *
void *
DESCRIPTIONThememchr () function locates the first occurrence of
c (converted to an unsigned char)
in string b.
The RETURN VALUESThememchr () and memrchr ()
functions return a pointer to the byte located, or NULL if no such byte exists
within len bytes.
SEE ALSOmemmem(3), strchr(3), strcspn(3), strpbrk(3), strrchr(3), strsep(3), strspn(3), strstr(3), strtok(3), wmemchr(3)STANDARDSThememchr () function conforms to
ISO/IEC 9899:1990 (“ISO C90”).
The HISTORYThememrchr () function first appeared in GNU libc
2.1.91, this implementation first appeared in FreeBSD
6.4, coming from OpenBSD 4.3.
Visit the GSP FreeBSD Man Page Interface. |