Skip to content
Snippets Groups Projects
Commit 8744ca11 authored by Jan S's avatar Jan S
Browse files

Add strtonum to OpenBSD

parent 9c561768
No related branches found
No related tags found
No related merge requests found
......@@ -52,6 +52,9 @@ extern {
envp: *const *const ::c_char) -> ::c_int;
pub fn pledge(promises: *const ::c_char,
execpromises: *const ::c_char) -> ::c_int;
pub fn strtonum(nptr: *const ::c_char, minval: ::c_longlong,
maxval: ::c_longlong,
errstr: *mut *const ::c_char) -> ::c_longlong;
}
cfg_if! {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment