linux.hh (6673:f8453ff56966) | linux.hh (6693:ce63047d1bd9) |
---|---|
1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 128 unchanged lines hidden (view full) --- 137 uint64_t st_dev; 138 uint8_t __pad0[4]; 139 uint32_t __st_ino; 140 uint32_t st_mode; 141 uint32_t st_nlink; 142 uint32_t st_uid; 143 uint32_t st_gid; 144 uint64_t st_rdev; | 1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 128 unchanged lines hidden (view full) --- 137 uint64_t st_dev; 138 uint8_t __pad0[4]; 139 uint32_t __st_ino; 140 uint32_t st_mode; 141 uint32_t st_nlink; 142 uint32_t st_uid; 143 uint32_t st_gid; 144 uint64_t st_rdev; |
145 int64_t st_size; | |
146 uint8_t __pad3[4]; | 145 uint8_t __pad3[4]; |
146 int64_t st_size; |
|
147 uint32_t st_blksize; 148 uint64_t st_blocks; 149 uint32_t st_atimeX; 150 uint32_t st_atime_nsec; 151 uint32_t st_mtimeX; 152 uint32_t st_mtime_nsec; 153 uint32_t st_ctimeX; 154 uint32_t st_ctime_nsec; 155 uint64_t st_ino; | 147 uint32_t st_blksize; 148 uint64_t st_blocks; 149 uint32_t st_atimeX; 150 uint32_t st_atime_nsec; 151 uint32_t st_mtimeX; 152 uint32_t st_mtime_nsec; 153 uint32_t st_ctimeX; 154 uint32_t st_ctime_nsec; 155 uint64_t st_ino; |
156 } tgt_stat64; | 156 } __attribute__((__packed__)) tgt_stat64; |
157 158 static OpenFlagTransTable openFlagTable[]; 159 160 static const int TGT_O_RDONLY = 00000000; //!< O_RDONLY 161 static const int TGT_O_WRONLY = 00000001; //!< O_WRONLY 162 static const int TGT_O_RDWR = 00000002; //!< O_RDWR 163 static const int TGT_O_NONBLOCK = 00004000; //!< O_NONBLOCK 164 static const int TGT_O_APPEND = 00002000; //!< O_APPEND --- 34 unchanged lines hidden --- | 157 158 static OpenFlagTransTable openFlagTable[]; 159 160 static const int TGT_O_RDONLY = 00000000; //!< O_RDONLY 161 static const int TGT_O_WRONLY = 00000001; //!< O_WRONLY 162 static const int TGT_O_RDWR = 00000002; //!< O_RDWR 163 static const int TGT_O_NONBLOCK = 00004000; //!< O_NONBLOCK 164 static const int TGT_O_APPEND = 00002000; //!< O_APPEND --- 34 unchanged lines hidden --- |