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.
sun_path
sockaddr_un
1 parent a51b0a2 commit 9431d1aCopy full SHA for 9431d1a
library/std/src/os/unix/net/addr.rs
@@ -15,7 +15,9 @@ mod libc {
15
pub type socklen_t = u32;
16
pub struct sockaddr;
17
#[derive(Clone)]
18
- pub struct sockaddr_un;
+ pub struct sockaddr_un {
19
+ pub sun_path: [u8; 1],
20
+ }
21
}
22
23
const SUN_PATH_OFFSET: usize = mem::offset_of!(libc::sockaddr_un, sun_path);
0 commit comments