Remove returning_checking_errno; pass a flag to foreign instead.
Merge pull request #72 from yallop/check-errno-in-foreign

Remove returning_checking_errno; pass a flag to foreign instead.