root/usr/src/cmd/csh/sh.dir.h
/*
 * Copyright 1990 Sun Microsystems, Inc.  All rights reserved.
 * Use is subject to license terms.
 */

/*      Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T     */
/*        All Rights Reserved   */

/*
 * Copyright (c) 1980 Regents of the University of California.
 * All rights reserved.  The Berkeley Software License Agreement
 * specifies the terms and conditions for redistribution.
 */

/*
 * Structure for entries in directory stack.
 */
struct  directory       {
        struct  directory *di_next;     /* next in loop */
        struct  directory *di_prev;     /* prev in loop */
        unsigned short *di_count;       /* refcount of processes */
        tchar *di_name;                 /* actual name */
};
extern struct directory *dcwd;          /* the one we are in now */