ign function and return appropriate values.

     ARG_TYPES should be a list of foreign types.  `return_type' should
     be a foreign type.  If the `#:return-errno?' keyword argument is
     provided and its value is true, then the returned procedure will
     return two values, with `errno' as the second value.

