Subject: Re: obio_probe_byte
To: <>
From: Michael Richardson <mcr@spiff.ccs.carleton.ca>
List: port-sun3
Date: 03/21/1994 15:59:55
In article <9403210623.AA12455@sandelman.ocunix.on.ca>,
Michael Richardson <mcr@latour.sandelman.ocunix.on.ca> wrote:
>+ success=1;
>+ }
>+ else {
>+ nofault=(int *)obio_probe_buf;
>+ foo=(*peek); /* stick it somewhere, to get around optimizer */
>+ nofault=old;
>+ success=0;
>+ }
>+ set_pte(probe_va,PG_INVAL);
>+ return(success);
>+ }
Oh, and about the return code. Any clue why it is 1 for fail, and 0
for success? exit(2)-like or something?
--
:!mcr!: HOME: mcr@sandelman.ocunix.on.ca +1 613 788 2600 3853
Michael Richardson WORK: mcr@ccs.carleton.ca (Conservation Ecology)
Here is an HTML reference to my bio.
------------------------------------------------------------------------------