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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,15e9725ee4ac8322 X-Google-Attributes: gid103376,public From: John McCabe Subject: Re: [Q] Operating System Command Interface Date: 1998/05/05 Message-ID: <6inbru$pee@gcsin3.geccs.gecm.com>#1/1 X-Deja-AN: 350463319 Content-Transfer-Encoding: 7bit References: <6ims5j$1vo@gcsin3.geccs.gecm.com> <354F2EF4.41C6@hso.link.com> Content-Type: text/plain; charset=us-ascii Organization: GMS&T Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-05-05T00:00:00+00:00 List-Id: "Stanley R. Allen" wrote: >John McCabe wrote: >> >> Am I right in thinking that, as standard, Ada has no direct perating >> system command interface akin to the C "System" call? >> > >My understanding is that the "system" call you are making >in C is actually a call to the Unix operating system; it's >not part of the C language. Correct me if I'm wrong, but I believe you'll find the system() function is included in the ANSI Standard C library definitions and is not dependent on Unix. >The same kind of call can be made from Ada using pragma Interface (Ada >83) or pragma Import (Ada 95). True, and thank you. -- Best Regards John McCabe ===================================================================== Any opinions expressed are mine and based on my own experience. They should in no way be taken as the opinion of anyone I am currently working with, or of the company I am currently working for. If you have a problem with anything I say, SPEAK TO ME! (remove "nospam." to reply by e-mail) =====================================================================