xref: /csrg-svn/lib/libc/i386/sys/sigpending.s (revision 61135)
144820Sbostic/*-
2*61135Sbostic * Copyright (c) 1990, 1993
3*61135Sbostic *	The Regents of the University of California.  All rights reserved.
444820Sbostic *
544820Sbostic * This code is derived from software contributed to Berkeley by
644820Sbostic * William Jolitz.
744820Sbostic *
844820Sbostic * %sccs.include.redist.c%
944820Sbostic */
1044820Sbostic
1144820Sbostic#if defined(SYSLIBC_SCCS) && !defined(lint)
12*61135Sbostic	.asciz "@(#)sigpending.s	8.1 (Berkeley) 06/04/93"
1344820Sbostic#endif /* SYSLIBC_SCCS and not lint */
1444820Sbostic
1544820Sbostic#include "SYS.h"
1644820Sbostic
1744820SbosticSYSCALL(sigpending)
1844820Sbostic	movl	4(%esp),%ecx		# fetch pointer to...
1944820Sbostic	movl	%eax,(%ecx)		# store old mask
2044820Sbostic	xorl	%eax,%eax
2144820Sbostic	ret
22