xref: /titanic_41/usr/src/cmd/csh/sh.dir.h (revision 8eea8e29cc4374d1ee24c25a07f45af132db3499)
1 /*
2  * Copyright 1990 Sun Microsystems, Inc.  All rights reserved.
3  * Use is subject to license terms.
4  */
5 
6 /*	Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T	*/
7 /*	  All Rights Reserved  	*/
8 
9 /*
10  * Copyright (c) 1980 Regents of the University of California.
11  * All rights reserved.  The Berkeley Software License Agreement
12  * specifies the terms and conditions for redistribution.
13  */
14 
15 #pragma ident	"%Z%%M%	%I%	%E% SMI"
16 
17 /*
18  * Structure for entries in directory stack.
19  */
20 struct	directory	{
21 	struct	directory *di_next;	/* next in loop */
22 	struct	directory *di_prev;	/* prev in loop */
23 	unsigned short *di_count;	/* refcount of processes */
24  tchar *di_name;		/* actual name */
25 };
26 struct directory *dcwd;		/* the one we are in now */
27