@loladiro , I couldn't use the standard libuv macro to get the fd since it is an internal one. Just wanted to avoid adding more code to our fork of libuv and hence added this code in jl_uv.c