🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #12036

Re: Unix V7 functionality under (or along with) AmigaDOS? (*LONG*)

#12036
From: Randell Jesup
Date: Thu, 30 Mar 1989 22:23
16 lines
1394 bytes
In article <DEVEN.89Mar30052930@daniel.pawl.rpi.edu> shadow@pawl.rpi.edu (Deven T. Corzine) writes:
>>        Within limits stated before: BCPL programs can't share filehandles.
>>NEVER Close() the result of Output().  Don't pass it off and exit, wait until
>>the other process is done with it.
>
>Well, you COULD have the child Close(Output()), if the parent and
>child agree the child is to do so, but it is definitely a poor
>programming style, and hence very strongly discouraged...  but legal.

	No.  The definition of a process is that CIS and COS (aka Input()
and Output()) will remain valid (the owning CLI or WB closes them).
You should never Close the result of Input() or Output().  NEVER.  It IS
illegal.

-- 
Randell Jesup, Commodore Engineering {uunet|rutgers|allegra}!cbmvax!jesup
Technical Details
Message-ID: <6465@cbmvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!oliveb!amiga!cbmvax!jesup
References: <6275@cbmvax.UUCP> <DEVEN.89Mar6082649@daniel.pawl.rpi.edu> <0776.AA0776@julie> <0856.AA0856@julie> <6420@cbmvax.UUCP> <DEVEN.89Mar30052930@daniel.pawl.rpi.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!oliveb!amiga!cbmvax!jesup
From: jesup@cbmvax.UUCP (Randell Jesup)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Unix V7 functionality under (or along with) AmigaDOS?  (*LONG*)
Message-ID: <6465@cbmvax.UUCP>
Date: 30 Mar 89 22:23:13 GMT
References: <6275@cbmvax.UUCP> <DEVEN.89Mar6082649@daniel.pawl.rpi.edu> <0776.AA0776@julie> <0856.AA0856@julie> <6420@cbmvax.UUCP> <DEVEN.89Mar30052930@daniel.pawl.rpi.edu>
Reply-To: jesup@cbmvax.UUCP (Randell Jesup)
Organization: Commodore Technology, West Chester, PA
Lines: 16