2.9BSD/usr/ingres/source/gutil/exit.s

Compare this file to the similar file:
Show the results in this format:

/ C library -- exit

/ exit(code)
/ code is return in r0 to system

/ modified by INGRES group to call _cleanup (standard v7)
/ and to require the loading of '_strout' (so that
/ the library loads correctly).

.globl	_exit
.globl	__strout
.globl	__cleanup

_exit:
	mov	r5,-(sp)
	mov	sp,r5
	jsr	pc,__cleanup
	mov	4(r5),r0
	sys	exit
	jsr	pc,__strout