You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/03/26 19:06:54 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #3197: sys/stat.h: Add S_IREAD, S_IWRITE and S_IEXEC macro

xiaoxiang781216 commented on a change in pull request #3197:
URL: https://github.com/apache/incubator-nuttx/pull/3197#discussion_r602529698



##########
File path: include/sys/stat.h
##########
@@ -62,6 +62,10 @@
 #define S_IRUSR     (1 << 8)
 #define S_IRWXU     (7 << 6)
 
+#define S_IREAD     S_IRUSR
+#define S_IWRITE    S_IWUSR
+#define S_IEXEC     S_IXUSR

Review comment:
       Yes, looks reasonable.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org