Function FD.osCall

Call an OS function that accepts an FD as the first argument.

auto auto osCall(alias F, T...) (
  T args
) nothrow @nogc
if (is(Parameters!F[0] == int));

Parameters

The parameters are the arguments that OS function accepts without the first one (the file descriptor).

Returns

Whatever the original OS function returns.