xref: /csrg-svn/lib/libc/vax/sys/sigsuspend.s (revision 38802)
1*38802Skarels/*
2*38802Skarels * Copyright (c) 1989 Regents of the University of California.
3*38802Skarels * All rights reserved.
4*38802Skarels *
5*38802Skarels * Redistribution and use in source and binary forms are permitted
6*38802Skarels * provided that the above copyright notice and this paragraph are
7*38802Skarels * duplicated in all such forms and that any documentation,
8*38802Skarels * advertising materials, and other materials related to such
9*38802Skarels * distribution and use acknowledge that the software was developed
10*38802Skarels * by the University of California, Berkeley.  The name of the
11*38802Skarels * University may not be used to endorse or promote products derived
12*38802Skarels * from this software without specific prior written permission.
13*38802Skarels * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14*38802Skarels * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15*38802Skarels * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
16*38802Skarels */
17*38802Skarels
18*38802Skarels#if defined(SYSLIBC_SCCS) && !defined(lint)
19*38802Skarels	.asciz "@(#)sigsuspend.s	5.1 (Berkeley) 08/27/89"
20*38802Skarels#endif /* SYSLIBC_SCCS and not lint */
21*38802Skarels
22*38802Skarels#include "SYS.h"
23*38802Skarels
24*38802Skarelserr:
25*38802Skarels	jmp	cerror
26*38802Skarels
27*38802SkarelsENTRY(sigsuspend)
28*38802Skarels	movl	*4(fp),4(fp)		# indirect to mask arg
29*38802Skarels	chmk	$SYS_sigsuspend
30*38802Skarels	jcs	err
31*38802Skarels	clrl	r0			# shouldn't happen
32*38802Skarels	ret
33