3BSD/usr/src/libc/sys/setuid.s

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

# C library -- setuid

# error = setuid(uid);

	.set	setuid,23
.globl	_setuid
.globl  cerror

_setuid:
	.word	0x0000
	chmk	$setuid
	bcc 	noerror
	jmp 	cerror
noerror:
	clrl	r0
	ret