Remove returning_checking_errno; pass a flag to foreign instead.