From e39ff9d5a31e5dbd52225e0aedcd1617271dd646 Mon Sep 17 00:00:00 2001 From: Paul Sajna <paulsajna@gmail.com> Date: Fri, 2 Mar 2018 16:59:44 -0800 Subject: [PATCH] add string.h skeleton --- string/lib.rs | 150 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 string/lib.rs diff --git a/string/lib.rs b/string/lib.rs new file mode 100644 index 00000000..5147a29c --- /dev/null +++ b/string/lib.rs @@ -0,0 +1,150 @@ +/* automatically generated by rust-bindgen */ + +pub extern "C" fn memccpy(arg1: *mut libc::c_void, + arg2: *const libc::c_void, + arg3: libc::c_int, arg4: usize) + -> *mut libc::c_void { + unimplemented!(); +} + +pub extern "C" fn memchr(arg1: *const libc::c_void, + arg2: libc::c_int, arg3: usize) + -> *mut libc::c_void { + unimplemented!(); +} + +pub extern "C" fn memcmp(arg1: *const libc::c_void, + arg2: *const libc::c_void, arg3: usize) + -> libc::c_int { + unimplemented!(); +} + +pub extern "C" fn memcpy(arg1: *mut libc::c_void, + arg2: *const libc::c_void, arg3: usize) + -> *mut libc::c_void { + unimplemented!(); +} + +pub extern "C" fn memmove(arg1: *mut libc::c_void, + arg2: *const libc::c_void, arg3: usize) + -> *mut libc::c_void { + unimplemented!(); +} + +pub extern "C" fn memset(arg1: *mut libc::c_void, + arg2: libc::c_int, arg3: usize) + -> *mut libc::c_void { + unimplemented!(); +} + +pub extern "C" fn strcat(arg1: *mut libc::c_char, + arg2: *const libc::c_char) + -> *mut libc::c_char { + unimplemented!(); +} + +pub extern "C" fn strchr(arg1: *const libc::c_char, + arg2: libc::c_int) -> *mut libc::c_char { + unimplemented!(); +} + +pub extern "C" fn strcmp(arg1: *const libc::c_char, + arg2: *const libc::c_char) + -> libc::c_int { + unimplemented!(); +} + +pub extern "C" fn strcoll(arg1: *const libc::c_char, + arg2: *const libc::c_char) + -> libc::c_int { + unimplemented!(); +} + +pub extern "C" fn strcpy(arg1: *mut libc::c_char, + arg2: *const libc::c_char) + -> *mut libc::c_char { + unimplemented!(); +} + +pub extern "C" fn strcspn(arg1: *const libc::c_char, + arg2: *const libc::c_char) + -> libc::c_ulong { + unimplemented!(); +} + +pub extern "C" fn strdup(arg1: *const libc::c_char) + -> *mut libc::c_char { + unimplemented!(); +} + +pub extern "C" fn strerror(arg1: libc::c_int) + -> *mut libc::c_char { + unimplemented!(); +} + +pub extern "C" fn strlen(arg1: *const libc::c_char) + -> libc::c_ulong { + unimplemented!(); +} + +pub extern "C" fn strncat(arg1: *mut libc::c_char, + arg2: *const libc::c_char, arg3: usize) + -> *mut libc::c_char { + unimplemented!(); +} + +pub extern "C" fn strncmp(arg1: *const libc::c_char, + arg2: *const libc::c_char, arg3: usize) + -> libc::c_int { + unimplemented!(); +} + +pub extern "C" fn strncpy(arg1: *mut libc::c_char, + arg2: *const libc::c_char, arg3: usize) + -> *mut libc::c_char { + unimplemented!(); +} + +pub extern "C" fn strpbrk(arg1: *const libc::c_char, + arg2: *const libc::c_char) + -> *mut libc::c_char { + unimplemented!(); +} + +pub extern "C" fn strrchr(arg1: *const libc::c_char, + arg2: libc::c_int) + -> *mut libc::c_char { + unimplemented!(); +} + +pub extern "C" fn strspn(arg1: *const libc::c_char, + arg2: *const libc::c_char) + -> libc::c_ulong { + unimplemented!(); +} + +pub extern "C" fn strstr(arg1: *const libc::c_char, + arg2: *const libc::c_char) + -> *mut libc::c_char { + unimplemented!(); +} + +pub extern "C" fn strtok(arg1: *mut libc::c_char, + arg2: *const libc::c_char) + -> *mut libc::c_char { + unimplemented!(); +} + +pub extern "C" fn strtok_r(arg1: *mut libc::c_char, + arg2: *const libc::c_char, + arg3: *mut *mut libc::c_char) + -> *mut libc::c_char { + unimplemented!(); +} + +pub extern "C" fn strxfrm(arg1: *mut libc::c_char, + arg2: *const libc::c_char, arg3: usize) + -> libc::c_ulong { + unimplemented!(); +} + -- GitLab