comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: File descriptor interfacing
Date: 1998/05/05
Date: 1998-05-05T00:00:00+00:00	[thread overview]
Message-ID: <dewar.894425642@merv> (raw)
In-Reply-To: 354E9F79.C5E73940@cmis.csiro.au


Richard Beare asks

<<The gnat os_lib package is one option, but that means the library user
would have to start using file descriptors as well. I think it would be
better if the user could pass a "file_type" from which the c file
descriptor could be extracted.
>>

Functions to extract file descriptors from Ada files are standardly 
available in GNAT, as are functions to open files givenm C file descriptors.
How do you find out about all this? You consult the ultra-secret source
of information, namely the GNAT documentation that comes with GNAT :-)
Have a look at the sceion in the manual hidden under the obscure 
title "Interfacing to C Streams"






  reply	other threads:[~1998-05-05  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-05  0:00 File descriptor interfacing Richard Beare
1998-05-05  0:00 ` Robert Dewar [this message]
1998-05-05  0:00 ` Geert Bosch
replies disabled

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