#[repr(C)]pub struct servent {
pub s_name: *mut c_char,
pub s_aliases: *mut *mut c_char,
pub s_port: c_int,
pub s_proto: *mut c_char,
}
Fields
s_name: *mut c_char
s_aliases: *mut *mut c_char
s_port: c_int
s_proto: *mut c_char
#[repr(C)]pub struct servent {
pub s_name: *mut c_char,
pub s_aliases: *mut *mut c_char,
pub s_port: c_int,
pub s_proto: *mut c_char,
}
s_name: *mut c_char
s_aliases: *mut *mut c_char
s_port: c_int
s_proto: *mut c_char