Make macos/ios version of accept4 function public