diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-09-30 15:27:08 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-09-30 15:27:08 +0000 |
commit | cdf5408e1648b6cb9c742999435ede912bde90c5 (patch) | |
tree | 04eacefa9682812aa69026f3a9635e66eed425af /ufs/dir.h | |
parent | 51c37db02693e2d308ad0c55a27ffd81e25f100e (diff) |
entered into RCS
Diffstat (limited to 'ufs/dir.h')
-rw-r--r-- | ufs/dir.h | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -83,24 +83,6 @@ struct directory_entry { char d_name[MAXNAMLEN + 1]; /* name with length <= MAXNAMLEN */ }; -/* - * File types - */ -#define DT_UNKNOWN 0 -#define DT_FIFO 1 -#define DT_CHR 2 -#define DT_DIR 4 -#define DT_BLK 6 -#define DT_REG 8 -#define DT_LNK 10 -#define DT_SOCK 12 - -/* - * Convert between stat structure types and directory types. - */ -#define IFTODT(mode) (((mode) & 0170000) >> 12) -#define DTTOIF(dirtype) ((dirtype) << 12) - /* Return the type from a struct directory_entry, paying attention to whether this filesystem supports the type extension */ #define DIRECT_TYPE(dp) (direct_symlink_extension ? (dp)->d_type : DT_UNKNOWN) |