xref: /illumos-gate/usr/src/cmd/csh/sh.dir.h (revision 258f91c6)
17c478bd9Sstevel@tonic-gate /*
27c478bd9Sstevel@tonic-gate  * Copyright 1990 Sun Microsystems, Inc.  All rights reserved.
37c478bd9Sstevel@tonic-gate  * Use is subject to license terms.
47c478bd9Sstevel@tonic-gate  */
57c478bd9Sstevel@tonic-gate 
67c478bd9Sstevel@tonic-gate /*	Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T	*/
77c478bd9Sstevel@tonic-gate /*	  All Rights Reserved  	*/
87c478bd9Sstevel@tonic-gate 
97c478bd9Sstevel@tonic-gate /*
107c478bd9Sstevel@tonic-gate  * Copyright (c) 1980 Regents of the University of California.
117c478bd9Sstevel@tonic-gate  * All rights reserved.  The Berkeley Software License Agreement
127c478bd9Sstevel@tonic-gate  * specifies the terms and conditions for redistribution.
137c478bd9Sstevel@tonic-gate  */
147c478bd9Sstevel@tonic-gate 
157c478bd9Sstevel@tonic-gate /*
167c478bd9Sstevel@tonic-gate  * Structure for entries in directory stack.
177c478bd9Sstevel@tonic-gate  */
187c478bd9Sstevel@tonic-gate struct	directory	{
197c478bd9Sstevel@tonic-gate 	struct	directory *di_next;	/* next in loop */
207c478bd9Sstevel@tonic-gate 	struct	directory *di_prev;	/* prev in loop */
217c478bd9Sstevel@tonic-gate 	unsigned short *di_count;	/* refcount of processes */
22*258f91c6SToomas Soome 	tchar *di_name;			/* actual name */
237c478bd9Sstevel@tonic-gate };
24*258f91c6SToomas Soome extern struct directory *dcwd;		/* the one we are in now */
25