Subject: | |
From: | |
Reply To: | |
Date: | Tue, 14 Nov 1995 18:39:49 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Steve mentions:
> Thanks. Actually, the real problem (thanks, Bruce) is that IPCSHUTDOWN
> will return the error 7 code if you default the 'opt' parameter. Passing
> an explicit 0 in this position eliminates the error. I'd take a WAG that
> there's a problem either with the SYSINTR file or the way the C/iX
> compiler handles this situation, since the actual intrinsic call should
> end up with a 0 in the 'opt' parameter if it's defaulted.
Here's what is in the SYSINTR file for IPCSHUTDOWN:
cseq ipcshutdown
CSEQ [2.0] - LPS Toolbox [A.01a] (c) 1995 Lund Performance Solutions
For Help at the CSEQ prompt enter ?
Procedure IPCSHUTDOWN (
descriptor : int32 ; {R26}
flags : anyvar set ; {R25, @32 -> 32} := nil, align 16}
opt : anyvar record ; {R24, @32 -> 262096} := nil
{align 16}
result : var int32 ) {R23} := nil, align 16}
{flags must be 0 or NSF_GRACEFUL_RELEASE }
{op: 0 or a pointer to empty NetIPC option buffer }
uncheckable_anyvar
End Run
/
So, SYSINTR says "default opt to NIL" ... which absolves SYSINTR.
--
Stan Sieler [log in to unmask]
http://www.allegro.com/sieler.html
|
|
|