1 /*- 2 * Copyright (c) 1980, 1991 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)dir.h 5.3 (Berkeley) 04/04/91 8 */ 9 10 /* 11 * Structure for entries in directory stack. 12 */ 13 struct directory { 14 struct directory *di_next; /* next in loop */ 15 struct directory *di_prev; /* prev in loop */ 16 unsigned short *di_count; /* refcount of processes */ 17 char *di_name; /* actual name */ 18 }; 19 struct directory *dcwd; /* the one we are in now */ 20