We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57a0228 commit f638893Copy full SHA for f638893
src/unix/mod.rs
@@ -1479,6 +1479,7 @@ extern "C" {
1479
link_name = "mknod@FBSD_1.0"
1480
)]
1481
pub fn mknod(pathname: *const c_char, mode: mode_t, dev: crate::dev_t) -> c_int;
1482
+ #[cfg(not(target_os = "espidf"))]
1483
pub fn gethostname(name: *mut c_char, len: size_t) -> c_int;
1484
pub fn endservent();
1485
pub fn getservbyname(name: *const c_char, proto: *const c_char) -> *mut servent;
0 commit comments