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 dfe4fe0 commit 73d83daCopy full SHA for 73d83da
src/unix/mod.rs
@@ -1466,6 +1466,7 @@ extern "C" {
1466
link_name = "mknod@FBSD_1.0"
1467
)]
1468
pub fn mknod(pathname: *const c_char, mode: mode_t, dev: crate::dev_t) -> c_int;
1469
+ #[cfg(not(target_os = "espidf"))]
1470
pub fn gethostname(name: *mut c_char, len: size_t) -> c_int;
1471
pub fn endservent();
1472
pub fn getservbyname(name: *const c_char, proto: *const c_char) -> *mut servent;
0 commit comments