Sfoglia il codice sorgente

* Some convenience permission constants, patch by Graeme #26373

git-svn-id: trunk@28038 -
marco 11 anni fa
parent
commit
bcd13a856d
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      rtl/bsd/ostypes.inc

+ 3 - 0
rtl/bsd/ostypes.inc

@@ -242,6 +242,9 @@ CONST
     S_IROTH =  %0000000100;     { Read permission for world   }
     S_IWOTH =  %0000000010;     { Write permission for world  }
     S_IXOTH =  %0000000001;     { Exec permission for world   }
+    S_IRWXU =  S_IRUSR or S_IWUSR or S_IXUSR;
+    S_IRWXG =  S_IRGRP or S_IWGRP or S_IXGRP;
+    S_IRWXO =  S_IROTH or S_IWOTH or S_IXOTH;
 
     { Used for waitpid }
     WNOHANG   =          1;     { don't block waiting               }