154409Storek/* 2*61176Sbostic * Copyright (c) 1992, 1993 3*61176Sbostic * The Regents of the University of California. All rights reserved. 454409Storek * 554409Storek * This software was developed by the Computer Systems Engineering group 654409Storek * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 754409Storek * contributed to Berkeley. 854409Storek * 954409Storek * %sccs.include.redist.c% 1054409Storek * 1154409Storek * from: $Header: sigpending.s,v 1.1 91/07/06 13:06:00 torek Exp $ 1254409Storek */ 1354409Storek 1454409Storek#if defined(LIBC_SCCS) && !defined(lint) 15*61176Sbostic .asciz "@(#)sigpending.s 8.1 (Berkeley) 06/04/93" 1654409Storek#endif /* LIBC_SCCS and not lint */ 1754409Storek 1854409Storek#include "SYS.h" 1954409Storek 2054409StorekENTRY(sigpending) 2154409Storek mov %o0, %o2 ! save pointer 2254409Storek mov SYS_sigpending, %g1 2354409Storek t ST_SYSCALL ! sigpending() 2454409Storek bcc,a 1f ! if success, 2554409Storek st %o0, [%o2] ! store return value 2654409Storek ERROR() 2754409Storek1: 2854409Storek retl ! and return 0 2954409Storek clr %o0 30