From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8c2e7f8bf8bb63e0 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: In GNAT/Ada95(main) use a C-Program Date: 1999/06/11 Message-ID: <7jrnok$no7$1@nnrp1.deja.com>#1/1 X-Deja-AN: 488498026 References: <375E60AD.C56EAE59@sbox.tu-graz.ac.at> <7jlrn0$c2h@hobbes.crc.com> <375EB748.2ABAAC25@sbox.tu-graz.ac.at> <7josp4$nug$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x32.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Fri Jun 11 19:24:10 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-06-11T00:00:00+00:00 List-Id: In article , Keith Thompson wrote: > Robert Dewar writes: > [...] > > If you are using GNAT, a preferable method is to use the > > higher level routines in GNAT.OS_Lib, since they are portable > > across all platforms, including those that do not support > > the Unix system call. > > One minor correction: the system() function is part of the C language > definition, so it should exist on any system that supports C, > not just Unix. I meant *EXACTLY* what I said, I was talking about platforms that do not support the *UNIX* system call, i.e. the version of system typically accepted by Unix. As Keith points out, the use of system varies significantly from one system to another. Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.