We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 49ffdf6 + 611066a commit b09d655Copy full SHA for b09d655
src/unix/mod.rs
@@ -742,6 +742,7 @@ extern {
742
pub fn getservbyname(name: *const ::c_char,
743
proto: *const ::c_char) -> *mut servent;
744
pub fn getprotobyname(name: *const ::c_char) -> *mut protoent;
745
+ pub fn getprotobynumber(proto: ::c_int) -> *mut protoent;
746
pub fn chroot(name: *const ::c_char) -> ::c_int;
747
#[cfg_attr(all(target_os = "macos", target_arch = "x86"),
748
link_name = "usleep$UNIX2003")]
0 commit comments