TIOCGPGRP copies an int out of the kernel
[unix-history] / usr / src / lib / libc / gen / pause.c
/*
* Copyright (c) 1983 The Regents of the University of California.
* All rights reserved.
*
* %sccs.include.redist.c%
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)pause.c 5.7 (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
#include <signal.h>
#include <unistd.h>
/*
* Backwards compatible pause.
*/
int
pause()
{
return sigpause(sigblock(0L));
}