]> git.sur5r.net Git - cc65/blobdiff - include/sys/stat.h
Adjustment for '816
[cc65] / include / sys / stat.h
index ece324f0b71ca010acff53a39bc4de7da60e9dee..c7e003808f54e46d63650ac364a60041dcb3e843 100644 (file)
@@ -2,7 +2,7 @@
 /*                                                                           */
 /*                                  stat.h                                   */
 /*                                                                           */
-/*                   Constants for the mode argument of open                 */
+/*              Constants for the mode argument of open and creat            */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
 
 
 
-/* These are the values for the traditional UNIX mode bits:
-** https://en.wikipedia.org/wiki/File_system_permissions#Numeric_notation
-** (S_IREAD and S_IWRITE are aliases for S_IRUSR and S_IWUSR)
-**
-** Must match the values in src/sim65/paravirt.c
-*/
+#define S_IREAD  0x01
+#define S_IWRITE 0x02
 
-#define S_IREAD  0400
-#define S_IWRITE 0200
 
 
 /*****************************************************************************/