1 /* 2 * Copyright (c) 1980 Regents of the University of California. 3 * All rights reserved. The Berkeley Software License Agreement 4 * specifies the terms and conditions for redistribution. 5 * 6 * @(#)dir.h 5.2 (Berkeley) 06/06/85 7 */ 8 9 /* 10 * Structure for entries in directory stack. 11 */ 12 struct directory { 13 struct directory *di_next; /* next in loop */ 14 struct directory *di_prev; /* prev in loop */ 15 unsigned short *di_count; /* refcount of processes */ 16 char *di_name; /* actual name */ 17 }; 18 struct directory *dcwd; /* the one we are in now */ 19