You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/08/06 13:36:47 UTC
[incubator-nuttx] 01/03: sys/stat:Make comment match code
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit bca0f3e275cfaf2697baf1ea18e3dc539dadddff
Author: David Sidrane <Da...@NscDg.com>
AuthorDate: Thu Aug 6 03:16:33 2020 -0700
sys/stat:Make comment match code
---
include/sys/stat.h | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/include/sys/stat.h b/include/sys/stat.h
index 6ee05eb..2939189 100644
--- a/include/sys/stat.h
+++ b/include/sys/stat.h
@@ -38,14 +38,13 @@
* that the full size of a mode_t is 16-bits. (However, mode_t must be size
* 'int' because it is promoted to size int when passed in varargs).
*
- * LTTT ...U UUGG GOOO
+ * TTTT ...U UUGG GOOO
*
* Bits 0-2: Permissions for others
* Bits 3-5: Group permissions
* Bits 6-8: Owner permissions
- * Bits 9-10: Not used
- * Bits 11-14: File type bits
- * Bit 15: Symbolic link
+ * Bits 9-11: Not used
+ * Bits 12-15: File type bits
*/
#define S_IXOTH (1 << 0) /* Bits 0-2: Permissions for others: RWX */