xref: /illumos-gate/usr/src/cmd/csh/sh.dir.h (revision ed093b41a93e8563e6e1e5dae0768dda2a7bcc27)
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