Changeset 19 for trunk/include/sh_unix.h
- Timestamp:
- Feb 12, 2006, 10:49:56 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/sh_unix.h
r10 r19 79 79 /* device num */ 80 80 #define MODI_RDEV (1 << 11) 81 /* size may grow */ 82 #define MODI_SGROW (1 << 12) 83 /* use prelink */ 84 #define MODI_PREL (1 << 13) 81 85 82 86 #define MASK_ALLIGNORE_ 0 … … 86 90 #define MASK_LOGFILES_ (MASK_ATTRIBUTES_|MODI_HLN|MODI_LNK|MODI_INO) 87 91 extern unsigned long mask_LOGFILES; 88 #define MASK_LOGGROW_ (MASK_LOGFILES_|MODI_SIZ )92 #define MASK_LOGGROW_ (MASK_LOGFILES_|MODI_SIZ|MODI_SGROW|MODI_CHK) 89 93 extern unsigned long mask_LOGGROW; 90 94 #define MASK_READONLY_ (MASK_LOGFILES_|MODI_CHK|MODI_SIZ|MODI_MTM|MODI_CTM) … … 95 99 extern unsigned long mask_USER0; 96 100 extern unsigned long mask_USER1; 97 /* like READONLY, but without MTM,CTM,SIZ,INO )98 */ 99 #define MASK_PRELINK_ (MASK_ATTRIBUTES_|MODI_HLN|MODI_LNK|MODI_CHK )101 /* like READONLY, but without MTM,CTM,SIZ,INO, abd with PREL) 102 */ 103 #define MASK_PRELINK_ (MASK_ATTRIBUTES_|MODI_HLN|MODI_LNK|MODI_CHK|MODI_PREL) 100 104 extern unsigned long mask_PRELINK; 101 105 … … 134 138 /* mlock utilities 135 139 */ 136 int sh_unix_mlock( void * addr, size_t len);140 int sh_unix_mlock(char * file, int line, void * addr, size_t len); 137 141 int sh_unix_munlock(void * addr, size_t len); 138 142 int sh_unix_count_mlock();
Note:
See TracChangeset
for help on using the changeset viewer.