comp.lang.ada
 help / color / mirror / Atom feed
From: do_while@ridgecrest.ca.us (Do-While Jones)
Subject: Re: [Q] Operating System Command Interface
Date: 1998/05/05
Date: 1998-05-05T00:00:00+00:00	[thread overview]
Message-ID: <6in63v$rd2$1@owens.ridgecrest.ca.us> (raw)
In-Reply-To: 6ims5j$1vo@gcsin3.geccs.gecm.com


In article <6ims5j$1vo@gcsin3.geccs.gecm.com>,
John McCabe  <john@nospam.assen.demon.co.uk> wrote:
>Am I right in thinking that, as standard, Ada has no direct perating 
>system command interface akin to the C "System" call?

Yes, because there is no standard operating system interface.  Of course
you can always call the C "system" call from Ada, but it is just as
unpredictable in Ada as it is in C.  The Ada code to call "system" is in
the recent thread called "Program (not task) Activation". 

I took the discussion about the inconsistent behavior of C's "system" 
call to comp.lang.c, and several Windows 95-related discussion groups a
couple weeks ago.  I got only one response.  That person quoted chapter
and verse explaining why Windows 95 does not have to return an error code
if the "system" call fails.  He suggested I take the matter up with Bill
myself.  It didn't seem to bother any of the C programmers that "system" 
on Windows NT works like "system" on UNIX, but "system" on Windows 95
doesn't.  I wonder what "system" will do on Windows 98.

Do-While Jones

            +--------------------------------+
            |    Know                 Ada    |
            |        [Ada's Portrait]        |
            |    Will              Travel    |
            | wire do_while@ridgecrest.ca.us |
            +--------------------------------+





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

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-05  0:00 [Q] Operating System Command Interface John McCabe
1998-05-05  0:00 ` Do-While Jones [this message]
1998-05-08  0:00   ` Nick Roberts
1998-05-05  0:00 ` Stanley R. Allen
1998-05-05  0:00   ` Andi Kleen
1998-05-06  0:00     ` Markus Kuhn
1998-05-05  0:00   ` John McCabe
1998-05-05  0:00 ` David C. Hoos, Sr.
1998-05-05  0:00   ` John McCabe
1998-05-05  0:00     ` Robert Dewar
1998-05-05  0:00 ` Markus Kuhn
1998-05-05  0:00   ` David C. Hoos, Sr.
replies disabled

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