comp.lang.ada
 help / color / mirror / Atom feed
From: Eric Jacoboni <jaco@neottia.net>
Subject: Re: Binding to feof
Date: Sat, 28 Aug 2004 12:26:35 +0200
Date: 2004-08-28T12:26:39+02:00	[thread overview]
Message-ID: <m2vff35zj8.fsf@mac.scrogneugneu.org> (raw)
In-Reply-To: AvRXc.518$8d1.147@newsread2.news.pas.earthlink.net

Jeffrey Carter <spam@spam.com> writes:

> Jerry van Dijk wrote:
>> If the binding is correct, it should work. Could you show an example
>> of the code and how you use it ?
>
> function End_Of_File (File : File_Handle := Standard_Input)

feof waits for a FILE *

I would try :

type C_FILE is new System.Address;

function feof(fic : in C_FILE) return integer;
pragma import(C, feof);

-- 
�ric Jacoboni, n� il y a 1397132675 secondes



  parent reply	other threads:[~2004-08-28 10:26 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
2004-08-28 10:26     ` Eric Jacoboni [this message]
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