comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam@spam.com>
Subject: Binding to feof
Date: Fri, 27 Aug 2004 18:14:04 GMT
Date: 2004-08-27T18:14:04+00:00	[thread overview]
Message-ID: <MRKXc.206$8d1.71@newsread2.news.pas.earthlink.net> (raw)

I've been experimenting with a binding to C's lightweight I/O library 
(fopen, fclose, feof, fgetc, fgets, fputc, fputs). Everything seems to 
work fine except feof, which always returns zero (False).

I'm using GNAT 3.15p/Win98.

Has anyone else experienced this? Does anyone have an explanation? If 
it's a C library error, is it fixed in later versions?

Thanks for any assistance.

-- 
Jeff Carter
"Have you gone berserk? Can't you see that that man is a ni?"
Blazing Saddles
38




             reply	other threads:[~2004-08-27 18:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-27 18:14 Jeffrey Carter [this message]
2004-08-27 21:07 ` Binding to feof Jerry van Dijk
2004-08-28  1:48   ` Jeffrey Carter
2004-08-28  2:25     ` Steve
2004-08-28 18:51       ` Jeffrey Carter
2004-08-28 10:26     ` Eric Jacoboni
2004-08-29  0:15 ` Keith Thompson
2004-08-30  6:56   ` Jeffrey Carter
2004-08-30 17:16     ` Hyman Rosen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox