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