4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
26 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
27 /* All Rights Reserved */
29 #pragma ident "%Z%%M% %I% %E% SMI"
37 #include <sys/param.h>
41 /* temp files and io */
45 struct ionod
*iotemp
; /* files to be deleted sometime */
46 struct ionod
*fiotemp
; /* function files to be deleted sometime */
47 struct ionod
*iopend
; /* documents waiting to be read at NL */
48 struct fdsave fdmap
[NOFILE
];
53 struct dolnod
*argfor
;
54 struct argnod
*gchain
;
57 /* name tree and words */
67 unsigned char *pcsadr
;
68 unsigned char *pidadr
;
69 unsigned char *cmdadr
;
76 unsigned char *comdiv
;
78 int rwait
; /* flags read waiting */
80 /* error exits from various parts of shell */
96 * The following flag is set if you try to exit with stopped jobs.
97 * On the second try the exit will succeed.
101 * The following flag is set to true if /usr/ucb is found in the path
102 * before /usr/bin. This value is checked when executing the echo and test
103 * built-in commands. If true, the command behaves as in BSD systems.
107 /* The following stuff is from stak.h */
109 unsigned char *stakbas
;
110 unsigned char *staktop
;
111 unsigned char *stakbot
= 0;
113 unsigned char *brkend
;