pub unsafe extern "C" fn pomp_encoder_write_fd(
enc: *mut pomp_encoder,
v: c_int,
) -> c_intExpand description
Encode a file descriptor. It will be internally duplicated and close when associated message is released. @param enc : encoder. @param v : value to encode. @return 0 in case of success, negative errno value in case of error.
@remarks : the encoded message will only be able to be exchanged over unix local socket.