summaryrefslogtreecommitdiff
path: root/usr/src/cmd/csh/sh.dir.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/csh/sh.dir.h')
-rw-r--r--usr/src/cmd/csh/sh.dir.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/usr/src/cmd/csh/sh.dir.h b/usr/src/cmd/csh/sh.dir.h
new file mode 100644
index 0000000000..78ece4a533
--- /dev/null
+++ b/usr/src/cmd/csh/sh.dir.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright 1990 Sun Microsystems, Inc. All rights reserved.
+ * Use is subject to license terms.
+ */
+
+/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
+/* All Rights Reserved */
+
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley Software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#pragma ident "%Z%%M% %I% %E% SMI"
+
+/*
+ * Structure for entries in directory stack.
+ */
+struct directory {
+ struct directory *di_next; /* next in loop */
+ struct directory *di_prev; /* prev in loop */
+ unsigned short *di_count; /* refcount of processes */
+ tchar *di_name; /* actual name */
+};
+struct directory *dcwd; /* the one we are in now */