1*52732Sbostic/*- 2*52732Sbostic * Copyright (c) 1991 The Regents of the University of California. 3*52732Sbostic * All rights reserved. 4*52732Sbostic * 5*52732Sbostic * This code is derived from software contributed to Berkeley by 6*52732Sbostic * Ralph Campbell. 7*52732Sbostic * 8*52732Sbostic * %sccs.include.redist.c% 9*52732Sbostic */ 10*52732Sbostic 11*52732Sbostic#include "SYS.h" 12*52732Sbostic 13*52732Sbostic#if defined(LIBC_SCCS) && !defined(lint) 14*52732Sbostic ASMSTR("@(#)sigpending.s 5.1 (Berkeley) 02/29/92") 15*52732Sbostic#endif /* LIBC_SCCS and not lint */ 16*52732Sbostic 17*52732SbosticLEAF(sigpending) 18*52732Sbostic li v0, SYS_sigpending # setlogin(name) 19*52732Sbostic syscall 20*52732Sbostic bne a3, zero, 1f 21*52732Sbostic sw v0, 0(a0) 22*52732Sbostic move v0, zero 23*52732Sbostic j ra 24*52732Sbostic1: 25*52732Sbostic j _cerror 26*52732SbosticEND(sigpending) 27