xref: /linux/rust/helpers/string.c (revision 25a01b5155d207e72bdd31b138406f37788403cb)
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