xref: /linux/rust/helpers/string.c (revision 6b3f7af57881f6d6250c6dcc4d910fe8e855a607)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 #include <linux/string.h>
4 
5 __rust_helper void *rust_helper_memchr(const void *s, int c, size_t n)
6 {
7 	return memchr(s, c, n);
8 }
9