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,97a0fb5b3a5bcf2f X-Google-Attributes: gid103376,public From: Lieven Marchand Subject: Re: Passing a Command to Unix in Ada Date: 1999/02/13 Message-ID: <7a41tu$2tt$5@nickel.uunet.be>#1/1 X-Deja-AN: 443967152 References: <36BCB222.EF9B4FF7@physics.BLAH.purdue.BLAH.edu> <79n0a7$3op$1@nnrp1.dejanews.com> <36C06B04.3E2D7A1F@physics.BLAH.purdue.BLAH.edu> <79q8n7$u00$1@nnrp1.dejanews.com> <1999Feb9.175528.1@eisner> Organization: Only under extreme pressure! Newsgroups: comp.lang.ada Date: 1999-02-13T00:00:00+00:00 List-Id: kilgallen@eisner.decus.org (Larry Kilgallen) writes: > Does anybody know what this required call [system] does on a Macintosh ? > Actually, ANSI C requires that there exists a function system() in the library. system(NULL) should return whether it does something useful on the platform. system(Arbitrary_String) is implementation defined. So my first guess would be that on the Macintosh, system systematically returns an error, which is a completely conformant implementation. -- Lieven Marchand ------------------------------------------------------------------------------ Few people have a talent for constructive laziness. -- Lazarus Long