Mercurial > hg > xemacs-beta
comparison src/ndir.h @ 209:41ff10fd062f r20-4b3
Import from CVS: tag r20-4b3
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:04:58 +0200 |
parents | 1370575f1259 |
children | c5d627a313b1 |
comparison
equal
deleted
inserted
replaced
208:f427b8ec4379 | 209:41ff10fd062f |
---|---|
21 <dir.h> -- definitions for 4.2BSD-compatible directory access | 21 <dir.h> -- definitions for 4.2BSD-compatible directory access |
22 | 22 |
23 last edit: 09-Jul-1983 D A Gwyn | 23 last edit: 09-Jul-1983 D A Gwyn |
24 */ | 24 */ |
25 | 25 |
26 #ifdef VMS | |
27 #ifndef FAB$C_BID | |
28 #include <fab.h> | |
29 #endif | |
30 #ifndef NAM$C_BID | |
31 #include <nam.h> | |
32 #endif | |
33 #ifndef RMS$_SUC | |
34 #include <rmsdef.h> | |
35 #endif | |
36 #include "vms-dir.h" | |
37 #endif /* VMS */ | |
38 | |
39 #define DIRBLKSIZ 512 /* size of directory block */ | 26 #define DIRBLKSIZ 512 /* size of directory block */ |
40 #ifdef VMS | |
41 #define MAXNAMLEN (DIR$S_NAME + 7) /* 80 plus room for version #. */ | |
42 #define MAXFULLSPEC NAM$C_MAXRSS /* Maximum full spec */ | |
43 #else | |
44 #ifdef WINDOWSNT | 27 #ifdef WINDOWSNT |
45 #define MAXNAMLEN 255 | 28 #define MAXNAMLEN 255 |
46 #else /* not WINDOWSNT */ | 29 #else /* not WINDOWSNT */ |
47 #define MAXNAMLEN 15 /* maximum filename length */ | 30 #define MAXNAMLEN 15 /* maximum filename length */ |
48 #endif /* not WINDOWSNT */ | 31 #endif /* not WINDOWSNT */ |
49 #endif /* VMS */ | |
50 /* NOTE: MAXNAMLEN must be one less than a multiple of 4 */ | 32 /* NOTE: MAXNAMLEN must be one less than a multiple of 4 */ |
51 | 33 |
52 struct direct /* data from readdir() */ | 34 struct direct /* data from readdir() */ |
53 { | 35 { |
54 long d_ino; /* inode number of entry */ | 36 long d_ino; /* inode number of entry */ |