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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b2077f5b728fb9af X-Google-Attributes: gid103376,public X-Google-Thread: 114c38,b2077f5b728fb9af X-Google-Attributes: gid114c38,public X-Google-ArrivalTime: 2001-04-10 21:52:05 PST Path: supernews.google.com!sn-xit-03!supernews.com!news-xfer.nuri.net!enews.sgi.com!coop.net!newsfeed1.global.lmco.com!svlnews.lmms.lmco.com!not-for-mail From: "Smark" Newsgroups: comp.lang.ada,comp.os.vxworks Subject: Re: redirecting the standard output Date: Tue, 10 Apr 2001 12:13:33 -0500 Organization: Lockheed Martin Corporation Message-ID: <9avevv$s6j2@cui1.lmms.lmco.com> References: <3ad31759$1@pull.gecm.com> NNTP-Posting-Host: 138.209.253.101 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Xref: supernews.google.com comp.lang.ada:6738 comp.os.vxworks:6400 Date: 2001-04-10T12:13:33-05:00 List-Id: "Stephen Leake" wrote in message news:uitkcpuso.fsf@gsfc.nasa.gov... > Stephen Leake writes: > > > "Martin Dowie" writes: > > > > > This time with a subject... :-) > > > > > > Target System: PowerPC, AdaMULTI v1.8.9b, VxWorks 5.4 > > > > > > How do I redirect the standard output? I'd like to redirect it to device > > > "/null" > > > > Normally this is done from the command line, when you launch your > > executable. What OS are you on? > > Duh; VxWorks! My brain is _not_ in high-power mode. > > Anyway, I don't know how to redirect in VxWorks, but I _think_ it uses > the Posix shell redirection: > > adacode > /dev/nul No, while VxWorks is based on Unix, it does not have a similar shell. The general way to redirect IO in VxWorks is with ioGlobalStdSet (or ioTaskStdSet for task-specific IO redirection). Mark