Copyright (C) 2000-2012 |
Manpages MEMCHRSection: Linux Programmer's Manual (3 )Updated: 1993-04-12 Index Return to Main Contents NAMEmemchr - scan memory for a characterSYNOPSIS#include <string.h> void *memchr(const void *s, int c, size_t n); DESCRIPTIONThe 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 VALUEThe memchr() function returns a pointer to the matching byte or NULL if the character does not occur in the given memory area.CONFORMING TOSVID 3, BSD 4.3, ISO 9899SEE ALSOindex(3), rindex(3), strchr(3), strpbrk(3), strrchr(3), strsep(3), strspn(3), strstr(3)
IndexThis document was created by man2html, using the manual pages. Time: 03:23:28 GMT, April 19, 2024 |