Skip to content
Snippets Groups Projects
Commit c9c1110a authored by Andre Maroneze's avatar Andre Maroneze Committed by Andre Maroneze
Browse files

[Libc] add declaration of non-POSIX memrchr

parent bbddbb19
No related branches found
No related tags found
No related merge requests found
...@@ -87,6 +87,9 @@ extern int memcmp (const void *s1, const void *s2, size_t n); ...@@ -87,6 +87,9 @@ extern int memcmp (const void *s1, const void *s2, size_t n);
@*/ @*/
extern void *memchr(const void *s, int c, size_t n); extern void *memchr(const void *s, int c, size_t n);
// Non-POSIX; GNU extension
extern void *memrchr(const void *s, int c, size_t n);
// Copy memory // Copy memory
/*@ requires valid_dest: valid_or_empty(dest, n); /*@ requires valid_dest: valid_or_empty(dest, n);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment