Skip to content
projects
/
linux
·
blob
uaccess-cleanups ·
refs
linux
rust
helpers
string.c
…
History
History
·
Raw
Raw
·
Diff
Diff
·
Blob
Blob
8 lines · 164 B
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
}