Re: Q: Index value in case of Ada.Streams.Stream_IO.End_Error



Gautier a écrit :
Hello!

Is there a RM-documented way to know the Index of a Ada.Streams.Stream_IO.File_Type
when it knocks the end of a file at reading it ?
out parameter Last in function Read...

This gives you the number of bytes actually read.
--
---------------------------------------------------------
J-P. Rosen (rosen@xxxxxxxxx)
Visit Adalog's web site at http://www.adalog.fr
.



Relevant Pages