Is there a reason why this needs to be in _darwin and _linux, The code is the same.