pub unsafe extern "C" fn enif_port_command(
    env: *mut ErlNifEnv,
    to_port: *const ErlNifPort,
    msg_env: *mut ErlNifEnv,
    msg: ERL_NIF_TERM
) -> c_int