comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam@spam.com>
Subject: Re: Binding to feof
Date: Sat, 28 Aug 2004 18:51:33 GMT
Date: 2004-08-28T18:51:33+00:00	[thread overview]
Message-ID: <Vu4Yc.990$w%6.317@newsread1.news.pas.earthlink.net> (raw)
In-Reply-To: <s2SXc.80415$mD.20157@attbi_s02>

Steve wrote:

> I just did a quick check on the "C" definition of feof:
> 
>   int feof(FILE *stream)
> 
> It seems that the function requires a pointer to a stream.
> Is your "FILE" type defined as a pointer?

Yes. File_Handle is an access type, with pragma Convention C. It's what 
I pass to all the other functions, which also take FILE* parameters, and 
they work fine.

-- 
Jeff Carter
"My brain hurts!"
Monty Python's Flying Circus
21




  reply	other threads:[~2004-08-28 18:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-27 18:14 Binding to feof Jeffrey Carter
2004-08-27 21:07 ` Jerry van Dijk
2004-08-28  1:48   ` Jeffrey Carter
2004-08-28  2:25     ` Steve
2004-08-28 18:51       ` Jeffrey Carter [this message]
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