pub unsafe extern "C-unwind" fn CFStreamCreatePairWithSocket(
alloc: Option<&CFAllocator>,
sock: CFSocketNativeHandle,
read_stream: *mut *mut CFReadStream,
write_stream: *mut *mut CFWriteStream,
)๐Deprecated: Use nw_connection_t in Network framework instead
Available on crate features
CFSocket and CFStream only.Expand description
ยงSafety
allocmight not allowNone.read_streammust be a valid pointer.write_streammust be a valid pointer.