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