xref: /csrg-svn/lib/libc/i386/sys/sigpending.s (revision 44820)
1*44820Sbostic/*-
2*44820Sbostic * Copyright (c) 1990 The Regents of the University of California.
3*44820Sbostic * All rights reserved.
4*44820Sbostic *
5*44820Sbostic * This code is derived from software contributed to Berkeley by
6*44820Sbostic * William Jolitz.
7*44820Sbostic *
8*44820Sbostic * %sccs.include.redist.c%
9*44820Sbostic */
10*44820Sbostic
11*44820Sbostic#if defined(SYSLIBC_SCCS) && !defined(lint)
12*44820Sbostic	.asciz "@(#)sigpending.s	5.1 (Berkeley) 07/01/90"
13*44820Sbostic#endif /* SYSLIBC_SCCS and not lint */
14*44820Sbostic
15*44820Sbostic#include "SYS.h"
16*44820Sbostic
17*44820SbosticSYSCALL(sigpending)
18*44820Sbostic	movl	4(%esp),%ecx		# fetch pointer to...
19*44820Sbostic	movl	%eax,(%ecx)		# store old mask
20*44820Sbostic	xorl	%eax,%eax
21*44820Sbostic	ret
22