* Hope this question is not silly!
@ 2003-05-29 8:05 prashna
2003-05-29 9:07 ` Pascal Obry
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: prashna @ 2003-05-29 8:05 UTC (permalink / raw)
Hi all,
Is it possible to call unix system call in Ada program?if yes, Is
there any website which explains as how to do this?
The reason I am asking this question is, the syntax of unix system
calls does not support Ada...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Hope this question is not silly!
2003-05-29 8:05 Hope this question is not silly! prashna
@ 2003-05-29 9:07 ` Pascal Obry
2003-05-29 13:45 ` Mark Lorenzen
2003-05-29 14:49 ` Daniel Trembath
2 siblings, 0 replies; 4+ messages in thread
From: Pascal Obry @ 2003-05-29 9:07 UTC (permalink / raw)
vashwath@rediffmail.com (prashna) writes:
> Hi all,
> Is it possible to call unix system call in Ada program?
Yes, see pragma Import/Export in your compiler documentation. Also check
Annex B - Interface to Other Languages.
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://perso.wanadoo.fr/pascal.obry
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Hope this question is not silly!
2003-05-29 8:05 Hope this question is not silly! prashna
2003-05-29 9:07 ` Pascal Obry
@ 2003-05-29 13:45 ` Mark Lorenzen
2003-05-29 14:49 ` Daniel Trembath
2 siblings, 0 replies; 4+ messages in thread
From: Mark Lorenzen @ 2003-05-29 13:45 UTC (permalink / raw)
vashwath@rediffmail.com (prashna) writes:
> Hi all,
> Is it possible to call unix system call in Ada program?if yes, Is
> there any website which explains as how to do this?
> The reason I am asking this question is, the syntax of unix system
> calls does not support Ada...
If you use GNAT and you want the big toolbox, you can download
'florist' - the GNAT implementation of the ISO/IEC 14519 standard. The
standard defines interfaces to POSIX like operating systems.
http://libre.act-europe.fr
- Mark
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Hope this question is not silly!
2003-05-29 8:05 Hope this question is not silly! prashna
2003-05-29 9:07 ` Pascal Obry
2003-05-29 13:45 ` Mark Lorenzen
@ 2003-05-29 14:49 ` Daniel Trembath
2 siblings, 0 replies; 4+ messages in thread
From: Daniel Trembath @ 2003-05-29 14:49 UTC (permalink / raw)
Hi Prashna,
It's not directly related but you might find this interesting to follow up as well.
http://www.cs.fit.edu/~ryan/ada/programs/args/os-adb.html
Cheers
Daniel
Melbourne Australia
"prashna" <vashwath@rediffmail.com> wrote in message
news:d40d7104.0305290005.7c90d03c@posting.google.com...
> Hi all,
> Is it possible to call unix system call in Ada program?if yes, Is
> there any website which explains as how to do this?
> The reason I am asking this question is, the syntax of unix system
> calls does not support Ada...
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-05-29 14:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-29 8:05 Hope this question is not silly! prashna
2003-05-29 9:07 ` Pascal Obry
2003-05-29 13:45 ` Mark Lorenzen
2003-05-29 14:49 ` Daniel Trembath
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox