Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

memrchr - find last occurrence of a character within another memory block

Author

       Lars Wirzenius (lars.wirzenius@helsinki.fi)

Publib                                        C Programmer's Manual                                MEMRCHR(3pub)

Description

memrchr finds the last occurrence of character c within memory block v, of length size.

Name

       memrchr - find last occurrence of a character within another memory block

Return Value

memrchr returns a pointer to the the match, if it finds any, or a null pointer if it doesn't.

See Also

publib(3), memchr(3)

Synopsis

       #include <publib.h>
       void *memrchr(const void *v, int c, size_t size);

See Also