Skip to content
Snippets Groups Projects
Commit 366509d3 authored by Alan Somers's avatar Alan Somers
Browse files

Add sethostname for freebsdlike operating systems

parent bbf53a1f
No related branches found
No related tags found
No related merge requests found
......@@ -811,6 +811,7 @@ extern {
clock_id: *mut clockid_t) -> ::c_int;
pub fn pthread_condattr_setclock(attr: *mut pthread_condattr_t,
clock_id: clockid_t) -> ::c_int;
pub fn sethostname(name: *const ::c_char, len: ::c_int) -> ::c_int;
}
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