jobs.c (18016) | jobs.c (18018) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Kenneth Almquist. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 19 unchanged lines hidden (view full) --- 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Kenneth Almquist. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 19 unchanged lines hidden (view full) --- 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * |
36 * $Id: jobs.c,v 1.5 1996/09/01 10:20:24 peter Exp $ | 36 * $Id: jobs.c,v 1.6 1996/09/03 13:35:09 peter Exp $ |
37 */ 38 39#ifndef lint 40static char sccsid[] = "@(#)jobs.c 8.5 (Berkeley) 5/4/95"; 41#endif /* not lint */ 42 43#include <fcntl.h> 44#include <signal.h> 45#include <errno.h> 46#include <unistd.h> 47#include <stdlib.h> 48#include <sys/types.h> 49#include <sys/param.h> 50#ifdef BSD 51#include <sys/wait.h> 52#include <sys/time.h> 53#include <sys/resource.h> 54#endif | 37 */ 38 39#ifndef lint 40static char sccsid[] = "@(#)jobs.c 8.5 (Berkeley) 5/4/95"; 41#endif /* not lint */ 42 43#include <fcntl.h> 44#include <signal.h> 45#include <errno.h> 46#include <unistd.h> 47#include <stdlib.h> 48#include <sys/types.h> 49#include <sys/param.h> 50#ifdef BSD 51#include <sys/wait.h> 52#include <sys/time.h> 53#include <sys/resource.h> 54#endif |
55#include <sys/ioctl.h> |
|
55 56#include "shell.h" 57#if JOBS 58#ifdef OLD_TTY_DRIVER 59#include "sgtty.h" 60#else 61#include <termios.h> 62#endif --- 1024 unchanged lines hidden --- | 56 57#include "shell.h" 58#if JOBS 59#ifdef OLD_TTY_DRIVER 60#include "sgtty.h" 61#else 62#include <termios.h> 63#endif --- 1024 unchanged lines hidden --- |