xref: /illumos-gate/usr/src/cmd/csh/sh.dir.h (revision 20a7641f9918de8574b8b3b47dbe35c4bfc78df1)
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 /*
16  * Structure for entries in directory stack.
17  */
18 struct	directory	{
19 	struct	directory *di_next;	/* next in loop */
20 	struct	directory *di_prev;	/* prev in loop */
21 	unsigned short *di_count;	/* refcount of processes */
22 	tchar *di_name;			/* actual name */
23 };
24 extern struct directory *dcwd;		/* the one we are in now */
25