1*54409Storek/* 2*54409Storek * Copyright (c) 1992 The Regents of the University of California. 3*54409Storek * All rights reserved. 4*54409Storek * 5*54409Storek * This software was developed by the Computer Systems Engineering group 6*54409Storek * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 7*54409Storek * contributed to Berkeley. 8*54409Storek * 9*54409Storek * %sccs.include.redist.c% 10*54409Storek * 11*54409Storek * from: $Header: sigpending.s,v 1.1 91/07/06 13:06:00 torek Exp $ 12*54409Storek */ 13*54409Storek 14*54409Storek#if defined(LIBC_SCCS) && !defined(lint) 15*54409Storek .asciz "@(#)sigpending.s 5.1 (Berkeley) 06/25/92" 16*54409Storek#endif /* LIBC_SCCS and not lint */ 17*54409Storek 18*54409Storek#include "SYS.h" 19*54409Storek 20*54409StorekENTRY(sigpending) 21*54409Storek mov %o0, %o2 ! save pointer 22*54409Storek mov SYS_sigpending, %g1 23*54409Storek t ST_SYSCALL ! sigpending() 24*54409Storek bcc,a 1f ! if success, 25*54409Storek st %o0, [%o2] ! store return value 26*54409Storek ERROR() 27*54409Storek1: 28*54409Storek retl ! and return 0 29*54409Storek clr %o0 30