Function FD.checkedCall

Run an fd based function and throw if it fails

auto auto checkedCall(alias F, T...) (
  T args,
  string errorMessage
) @nogc @system
if (is(Parameters!F[0] == int));

This function behave the same as osCall, except if the return is -1, it will throw an ErrnoException