linux.hh (4131:660ebc4994a9) | linux.hh (5543:3af77710f397) |
---|---|
1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 36 unchanged lines hidden (view full) --- 45 /// host open() flags. 46 static OpenFlagTransTable openFlagTable[]; 47 48 /// Number of entries in openFlagTable[]. 49 static const int NUM_OPEN_FLAGS; 50 51 //@{ 52 /// open(2) flag values. | 1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 36 unchanged lines hidden (view full) --- 45 /// host open() flags. 46 static OpenFlagTransTable openFlagTable[]; 47 48 /// Number of entries in openFlagTable[]. 49 static const int NUM_OPEN_FLAGS; 50 51 //@{ 52 /// open(2) flag values. |
53 static const int TGT_O_RDONLY = 00000000; //!< O_RDONLY 54 static const int TGT_O_WRONLY = 00000001; //!< O_WRONLY 55 static const int TGT_O_RDWR = 00000002; //!< O_RDWR 56 static const int TGT_O_NONBLOCK = 00000004; //!< O_NONBLOCK 57 static const int TGT_O_APPEND = 00000010; //!< O_APPEND 58 static const int TGT_O_CREAT = 00001000; //!< O_CREAT 59 static const int TGT_O_TRUNC = 00002000; //!< O_TRUNC 60 static const int TGT_O_EXCL = 00004000; //!< O_EXCL 61 static const int TGT_O_NOCTTY = 00010000; //!< O_NOCTTY 62 static const int TGT_O_SYNC = 00040000; //!< O_SYNC 63 static const int TGT_O_DRD = 00100000; //!< O_DRD 64 static const int TGT_O_DIRECTIO = 00200000; //!< O_DIRECTIO 65 static const int TGT_O_CACHE = 00400000; //!< O_CACHE 66 static const int TGT_O_DSYNC = 02000000; //!< O_DSYNC 67 static const int TGT_O_RSYNC = 04000000; //!< O_RSYNC | 53 static const int TGT_O_RDONLY = 00000000; //!< O_RDONLY 54 static const int TGT_O_WRONLY = 00000001; //!< O_WRONLY 55 static const int TGT_O_RDWR = 00000002; //!< O_RDWR 56 static const int TGT_O_NONBLOCK = 00000004; //!< O_NONBLOCK 57 static const int TGT_O_APPEND = 00000010; //!< O_APPEND 58 static const int TGT_O_CREAT = 00001000; //!< O_CREAT 59 static const int TGT_O_TRUNC = 00002000; //!< O_TRUNC 60 static const int TGT_O_EXCL = 00004000; //!< O_EXCL 61 static const int TGT_O_NOCTTY = 00010000; //!< O_NOCTTY 62 static const int TGT_O_SYNC = 00040000; //!< O_SYNC 63 static const int TGT_O_DRD = 00100000; //!< O_DRD 64 static const int TGT_O_DIRECTIO = 00200000; //!< O_DIRECTIO 65 static const int TGT_O_CACHE = 00400000; //!< O_CACHE 66 static const int TGT_O_DSYNC = 02000000; //!< O_DSYNC 67 static const int TGT_O_RSYNC = 04000000; //!< O_RSYNC |
68 //@} 69 70 /// For mmap(). 71 static const unsigned TGT_MAP_ANONYMOUS = 0x10; 72 73 //@{ 74 /// For getsysinfo(). 75 static const unsigned GSI_PLATFORM_NAME = 103; //!< platform name as string --- 55 unchanged lines hidden --- | 68 //@} 69 70 /// For mmap(). 71 static const unsigned TGT_MAP_ANONYMOUS = 0x10; 72 73 //@{ 74 /// For getsysinfo(). 75 static const unsigned GSI_PLATFORM_NAME = 103; //!< platform name as string --- 55 unchanged lines hidden --- |