no SCCS file; new copyright; att/bsd/shared
[unix-history] / usr / src / lib / libc / gen / pause.c
CommitLineData
bb0cfa24 1/*
bfd3a734
KB
2 * Copyright (c) 1983 The Regents of the University of California.
3 * All rights reserved.
4 *
269a7923 5 * %sccs.include.redist.c%
bb0cfa24
DF
6 */
7
2ce81398 8#if defined(LIBC_SCCS) && !defined(lint)
c5980113 9static char sccsid[] = "@(#)pause.c 5.7 (Berkeley) %G%";
bfd3a734 10#endif /* LIBC_SCCS and not lint */
5942f1c5 11
c5980113
DS
12#include <signal.h>
13#include <unistd.h>
14
5942f1c5
SL
15/*
16 * Backwards compatible pause.
17 */
c5980113 18int
5942f1c5
SL
19pause()
20{
21
c5980113 22 return sigpause(sigblock(0L));
5942f1c5 23}