| Red Hat Documentation: man pages: man3: Linux Programmer's Manual (3) |
MEMCHRSection: Linux Programmer's Manual (3)Updated: April 12, 2025 Index 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 ALSO
IndexThis document was created by using the manual pages. Time: 11:58:04 GMT, March 24, 2025 |
|
© 2001 Red Hat, Inc. All rights reserved. About Red Hat : Legal statement : Privacy statement : Y2K statement : Contact Red Hat |