xref: /csrg-svn/lib/libc/vax/sys/sigsuspend.s (revision 39265)
138802Skarels/*
238802Skarels * Copyright (c) 1989 Regents of the University of California.
338802Skarels * All rights reserved.
438802Skarels *
538802Skarels * Redistribution and use in source and binary forms are permitted
638802Skarels * provided that the above copyright notice and this paragraph are
738802Skarels * duplicated in all such forms and that any documentation,
838802Skarels * advertising materials, and other materials related to such
938802Skarels * distribution and use acknowledge that the software was developed
1038802Skarels * by the University of California, Berkeley.  The name of the
1138802Skarels * University may not be used to endorse or promote products derived
1238802Skarels * from this software without specific prior written permission.
1338802Skarels * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
1438802Skarels * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
1538802Skarels * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1638802Skarels */
1738802Skarels
1838802Skarels#if defined(SYSLIBC_SCCS) && !defined(lint)
19*39265Storek	.asciz "@(#)sigsuspend.s	5.2 (Berkeley) 10/10/89"
2038802Skarels#endif /* SYSLIBC_SCCS and not lint */
2138802Skarels
2238802Skarels#include "SYS.h"
2338802Skarels
2438802Skarelserr:
2538802Skarels	jmp	cerror
2638802Skarels
2738802SkarelsENTRY(sigsuspend)
28*39265Storek	movl	*4(ap),4(ap)		# indirect to mask arg
2938802Skarels	chmk	$SYS_sigsuspend
3038802Skarels	jcs	err
3138802Skarels	clrl	r0			# shouldn't happen
3238802Skarels	ret
33