Article View: comp.sys.sgi.misc
Article #335Re: sproc man page bug?
From: Dave Olson
Date: Sun, 12 Nov 1995 04:22
Date: Sun, 12 Nov 1995 04:22
14 lines
1081 bytes
1081 bytes
matomira@lig.di.epfl.ch (Fernando D. Mato Mira) writes: | But it doesn't say what happens if `arg' was not passed. You get whatever was was in register a2 when sproc() was called... | Is there a standard SGI trick to detect the presence of a single optional argument? | I guess what this means is that the new process is called with stack trash otherwise, right? Not on the stack, just gets a value in a0 that gets ignored. -- The most beautiful things in the world | Dave Olson, Silicon Graphics are those from which all excess weight | http://reality.sgi.com/employees/olson has been removed. -Henry Ford | olson@sgi.com
Technical Details
Message-ID:
<483spc$lbg@gazette.engr.sgi.com>Path:
arc1-ca.pugleaf.net!anchor.engr.sgi.com!olsonReferences:
<480esd$106@info.epfl.ch>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!anchor.engr.sgi.com!olson From: olson@anchor.engr.sgi.com (Dave Olson) Newsgroups: comp.sys.sgi.misc,comp.sys.sgi.bugs,comp.lang.c Subject: Re: sproc man page bug? Date: 12 Nov 1995 04:22:04 GMT Organization: Silicon Graphics Inc., Mountain View, CA Message-ID: <483spc$lbg@gazette.engr.sgi.com> References: <480esd$106@info.epfl.ch> NNTP-Posting-Host: anchor.engr.sgi.com X-Newsreader: NN version 6.5.0 #2 (NOV)