Auto merge of #2512 - devnexen:netbsd_eapi_upd, r=Amanieu

netbsd libutil update
This commit is contained in:
bors 2021-11-05 03:43:31 +00:00
commit 59e0b57a5c
2 changed files with 16 additions and 0 deletions

View file

@ -1134,11 +1134,14 @@ easprintf
efopen
emalloc
erealloc
ereallocarr
esetfunc
estrdup
estrndup
estrlcat
estrlcpy
estrtoi
estrtou
evasprintf
endgrent
endpwent

View file

@ -2536,10 +2536,23 @@ extern "C" {
pub fn emalloc(n: ::size_t) -> *mut ::c_void;
pub fn ecalloc(n: ::size_t, c: ::size_t) -> *mut ::c_void;
pub fn erealloc(p: *mut ::c_void, n: ::size_t) -> *mut ::c_void;
pub fn ereallocarr(p: *mut ::c_void, n: ::size_t, s: ::size_t);
pub fn estrdup(s: *const ::c_char) -> *mut ::c_char;
pub fn estrndup(s: *const ::c_char, len: ::size_t) -> *mut ::c_char;
pub fn estrlcpy(dst: *mut ::c_char, src: *const ::c_char, len: ::size_t) -> ::size_t;
pub fn estrlcat(dst: *mut ::c_char, src: *const ::c_char, len: ::size_t) -> ::size_t;
pub fn estrtoi(
nptr: *const ::c_char,
base: ::c_int,
lo: ::intmax_t,
hi: ::intmax_t,
) -> ::intmax_t;
pub fn estrtou(
nptr: *const ::c_char,
base: ::c_int,
lo: ::uintmax_t,
hi: ::uintmax_t,
) -> ::uintmax_t;
pub fn easprintf(string: *mut *mut ::c_char, fmt: *const ::c_char, ...) -> ::c_int;
pub fn evasprintf(string: *mut *mut ::c_char, fmt: *const ::c_char, ...) -> ::c_int;
pub fn esetfunc(