setexit()

dbj.rice%rand-relay at sri-unix.UUCP dbj.rice%rand-relay at sri-unix.UUCP
Fri Oct 21 11:45:15 AEST 1983


From:  Dave Johnson <dbj.rice at rand-relay>

The source for setexit() and reset() is in /usr/src/libc/sys/reset.s.  The
only documentation I know of for them is the comment at the top of the
source file:

        #        reset(x)
        # will generate a "return" from
        # the last call to
        #        setexit()
        # by restoring r6 - r12, ap, fp
        # and doing a return.
        # The returned value is x; on the original
        # call the returned value is 0.
        #
        # useful for going back to the main loop
        # after a horrible error in a lowlevel
        # routine.


                                        Dave Johnson
                                        Dept. of Math Science
                                        Rice University
                                        dbj.rice at Rand-Relay



More information about the Comp.unix.wizards mailing list