linux.hh (5407:c121bb9e86eb) | linux.hh (5543:3af77710f397) |
---|---|
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 * --- 73 unchanged lines hidden (view full) --- 82 uint64_t st_mtime_nsec; 83 uint64_t st_ctimeX; 84 uint64_t st_ctime_nsec; 85 int64_t unused0[3]; 86 } tgt_stat64; 87 88 static OpenFlagTransTable openFlagTable[]; 89 | 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 * --- 73 unchanged lines hidden (view full) --- 82 uint64_t st_mtime_nsec; 83 uint64_t st_ctimeX; 84 uint64_t st_ctime_nsec; 85 int64_t unused0[3]; 86 } tgt_stat64; 87 88 static OpenFlagTransTable openFlagTable[]; 89 |
90 static const int TGT_O_RDONLY = 00000000; //!< O_RDONLY 91 static const int TGT_O_WRONLY = 00000001; //!< O_WRONLY 92 static const int TGT_O_RDWR = 00000002; //!< O_RDWR 93 static const int TGT_O_NONBLOCK = 00004000; //!< O_NONBLOCK 94 static const int TGT_O_APPEND = 00002000; //!< O_APPEND 95 static const int TGT_O_CREAT = 00000100; //!< O_CREAT 96 static const int TGT_O_TRUNC = 00001000; //!< O_TRUNC 97 static const int TGT_O_EXCL = 00000200; //!< O_EXCL 98 static const int TGT_O_NOCTTY = 00000400; //!< O_NOCTTY 99 static const int TGT_O_SYNC = 00010000; //!< O_SYNC 100// static const int TGT_O_DRD = 0x00010000; //!< O_DRD 101// static const int TGT_O_DIRECTIO = 0x00020000; //!< O_DIRECTIO 102// static const int TGT_O_CACHE = 0x00002000; //!< O_CACHE 103// static const int TGT_O_DSYNC = 0x00008000; //!< O_DSYNC 104// static const int TGT_O_RSYNC = 0x00040000; //!< O_RSYNC | 90 static const int TGT_O_RDONLY = 00000000; //!< O_RDONLY 91 static const int TGT_O_WRONLY = 00000001; //!< O_WRONLY 92 static const int TGT_O_RDWR = 00000002; //!< O_RDWR 93 static const int TGT_O_NONBLOCK = 00004000; //!< O_NONBLOCK 94 static const int TGT_O_APPEND = 00002000; //!< O_APPEND 95 static const int TGT_O_CREAT = 00000100; //!< O_CREAT 96 static const int TGT_O_TRUNC = 00001000; //!< O_TRUNC 97 static const int TGT_O_EXCL = 00000200; //!< O_EXCL 98 static const int TGT_O_NOCTTY = 00000400; //!< O_NOCTTY 99 static const int TGT_O_SYNC = 00010000; //!< O_SYNC 100// static const int TGT_O_DRD = 0x00010000; //!< O_DRD 101// static const int TGT_O_DIRECTIO = 0x00020000; //!< O_DIRECTIO 102// static const int TGT_O_CACHE = 0x00002000; //!< O_CACHE 103// static const int TGT_O_DSYNC = 0x00008000; //!< O_DSYNC 104// static const int TGT_O_RSYNC = 0x00040000; //!< O_RSYNC |
105 106 static const int NUM_OPEN_FLAGS; 107 108 static const unsigned TGT_MAP_ANONYMOUS = 0x20; 109 110 typedef struct { 111 uint64_t iov_base; // void * 112 uint64_t iov_len; // size_t 113 } tgt_iovec; 114}; 115 116#endif | 105 106 static const int NUM_OPEN_FLAGS; 107 108 static const unsigned TGT_MAP_ANONYMOUS = 0x20; 109 110 typedef struct { 111 uint64_t iov_base; // void * 112 uint64_t iov_len; // size_t 113 } tgt_iovec; 114}; 115 116#endif |