xref: /csrg-svn/lib/libc/gen/pause.c (revision 38473)
121330Sdist /*
2*38473Sbostic  * Copyright (c) 1983 The Regents of the University of California.
3*38473Sbostic  * All rights reserved.
4*38473Sbostic  *
5*38473Sbostic  * Redistribution and use in source and binary forms are permitted
6*38473Sbostic  * provided that the above copyright notice and this paragraph are
7*38473Sbostic  * duplicated in all such forms and that any documentation,
8*38473Sbostic  * advertising materials, and other materials related to such
9*38473Sbostic  * distribution and use acknowledge that the software was developed
10*38473Sbostic  * by the University of California, Berkeley.  The name of the
11*38473Sbostic  * University may not be used to endorse or promote products derived
12*38473Sbostic  * from this software without specific prior written permission.
13*38473Sbostic  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14*38473Sbostic  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15*38473Sbostic  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1621330Sdist  */
1712942Ssam 
1826518Sdonn #if defined(LIBC_SCCS) && !defined(lint)
19*38473Sbostic static char sccsid[] = "@(#)pause.c	5.5 (Berkeley) 07/18/89";
20*38473Sbostic #endif /* LIBC_SCCS and not lint */
2121330Sdist 
2212942Ssam /*
2312942Ssam  * Backwards compatible pause.
2412942Ssam  */
2512942Ssam pause()
2612942Ssam {
2733612Sbostic 	long sigblock();
2812942Ssam 
2932298Sbostic 	sigpause(sigblock(0L));
3012942Ssam }
31