summaryrefslogtreecommitdiff
path: root/rust/helpers/string.c
blob: 8ef30eb07a153e8701d51737fe77a810bf5558c3 (plain)
1
2
3
4
5
6
7
8
// SPDX-License-Identifier: GPL-2.0

#include <linux/string.h>

__rust_helper void *rust_helper_memchr(const void *s, int c, size_t n)
{
	return memchr(s, c, n);
}