summaryrefslogtreecommitdiff
path: root/src/windows
diff options
context:
space:
mode:
authorLzu Tao <taolzu@gmail.com>2019-12-29 18:07:18 +0700
committerLzu Tao <taolzu@gmail.com>2020-02-21 10:42:15 +0700
commit723a2c7d87ee64e3775e068b92074cffb9b70fbd (patch)
tree3f427a4b6d737bb0bfe6f798da06100e1324b0d8 /src/windows
parent23caafdfec968bf5d8acb341d95cdcffad18821b (diff)
downloadrust-libc-723a2c7d87ee64e3775e068b92074cffb9b70fbd.tar.gz
add wmemchr to all platforms support memchr
Diffstat (limited to 'src/windows')
-rw-r--r--src/windows/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/windows/mod.rs b/src/windows/mod.rs
index f440489aa2..2fe1d01d78 100644
--- a/src/windows/mod.rs
+++ b/src/windows/mod.rs
@@ -378,6 +378,7 @@ extern "C" {
) -> ::size_t;
pub fn memchr(cx: *const c_void, c: c_int, n: size_t) -> *mut c_void;
+ pub fn wmemchr(cx: *const wchar_t, c: wchar_t, n: size_t) -> *mut wchar_t;
pub fn memcmp(cx: *const c_void, ct: *const c_void, n: size_t) -> c_int;
pub fn memcpy(
dest: *mut c_void,