Changeset 2316 for trunk/src/emx/include/sys/stat.h
- Timestamp:
- Aug 29, 2005, 5:35:39 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/sys/stat.h
-
Property cvs2svn:cvs-rev
changed from
1.11
to1.12
r2315 r2316 137 137 struct stat { 138 138 __dev_t st_dev; /* inode's device */ 139 #if 1 /* bird: emx: */ 140 __uint32_t st_attr; /* emx: OS/2 & DOS attributes */ 141 #endif 139 142 ino_t st_ino; /* inode's number */ 140 143 mode_t st_mode; /* inode protection mode */ … … 143 146 gid_t st_gid; /* group ID of the file's group */ 144 147 __dev_t st_rdev; /* device type */ 145 #if 1 /* bird: emx */ 146 time_t st_atime; 147 time_t st_mtime; 148 time_t st_ctime; 149 #else /* bird: emx */ 148 #if 1 /* bird: emx - better alignment of 64-bit types */ 149 __int32_t st_lspare; 150 #endif /* bird */ 150 151 #if __BSD_VISIBLE 151 152 struct timespec st_atimespec; /* time of last access */ … … 160 161 long st_ctimensec; /* nsec of last file status change */ 161 162 #endif 162 #endif /* bird: emx */163 163 off_t st_size; /* file size, in bytes */ 164 164 __int64_t st_blocks; /* blocks allocated for file */ 165 165 __uint32_t st_blksize; /* optimal blocksize for I/O */ 166 #if 1 /* bird: emx: */167 long st_attr; /* emx: OS/2 & DOS attributes */168 #else /* bird: emx */169 170 166 fflags_t st_flags; /* user defined flags for file */ 171 167 __uint32_t st_gen; /* file generation number */ 168 #if 0 /* bird: !emx - it's higher up for packing reasons */ 172 169 __int32_t st_lspare; 170 #endif /* bird */ 173 171 #if __BSD_VISIBLE 174 172 struct timespec st_birthtimespec; /* time of file creation */ … … 189 187 unsigned int :(8 / 2) * (16 - (int)sizeof(struct __timespec)); 190 188 #endif 191 #endif /* bird: emx - end */192 189 }; 193 190 … … 220 217 #endif /* bird: emx */ 221 218 222 #if 0 /* bird: emx */223 219 #if __BSD_VISIBLE 224 220 #define st_atime st_atimespec.tv_sec … … 227 223 #define st_birthtime st_birthtimespec.tv_sec 228 224 #endif 229 #endif /* bird: emx */230 225 231 226 #define S_ISUID 0004000 /* set user id on execution */ -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.