Skip to content
Snippets Groups Projects
Commit dca8a31d authored by gnzlbg's avatar gnzlbg
Browse files

Add gethostname.

Closes #868 .
parent e4bc8215
No related branches found
No related tags found
No related merge requests found
......@@ -392,6 +392,7 @@ extern {
pub fn if_freenameindex(ptr: *mut if_nameindex);
pub fn getdomainname(name: *mut ::c_char, len: ::size_t) -> ::c_int;
pub fn setdomainname(name: *const ::c_char, len: ::size_t) -> ::c_int;
pub fn gethostname(name: *mut ::c_char, len: ::size_t) -> ::c_int;
pub fn getpeereid(socket: ::c_int,
euid: *mut ::uid_t,
egid: *mut ::gid_t) -> ::c_int;
......
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