iostat

Thomas Koenig Thomas.Koenig@online.de
Wed Aug 23 22:18:00 GMT 2006


On Wed, Aug 23, 2006 at 01:55:58PM -0700, Steve Kargl wrote:

Hi Steve,

> 2006-08-23  Steven G. Kargl  <kargls@comcast.net>
> 
> 	* runtime/error.c: Return errno for iostat on OS errors.

If you do this, please make sure the errno numbers don't collide
with the error numbers in libgfortran.h.  I don't know how to
do this except to use a Very Large Offset for the libgfortran.h
numbers.

As for translating the errno into something user-readable,
we should recommend C interop (once that's in) and perror().
No need for a temporary solution.

	Thomas



More information about the Fortran mailing list