]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/Include/sys/stat.h
StdLib, StdLibPrivateInternalFiles: Clean up comments, Remove debugging code, Define...
[mirror_edk2.git] / StdLib / Include / sys / stat.h
index 6c5d5a80783c87a7b4e52c044967401c639a7f50..12520be83ab842c70ec2d9220a5ab9e40a02924b 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-    Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
+    Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>\r
     This program and the accompanying materials are licensed and made\r
     available under  the terms and conditions of the BSD License that\r
     accompanies this distribution. The full text of the license may be found at\r
@@ -90,16 +90,18 @@ struct stat {
 /*  The Octal access modes, above, fall into the Hex mask 0x00000FFF.\r
     Traditionally, the remainder of the flags are specified in Octal\r
     but they are expressed in Hex here for modern clarity.\r
+\r
+    The basic file types, specified within 0x0000F000, are mutually exclusive.\r
 */\r
 #define _S_IFMT       0x000FF000   ///< type-of-file mask\r
 #define _S_IFIFO      0x00001000   ///< named pipe (fifo)\r
-#define _S_IFCHR      0x00002000   ///< character special\r
+#define _S_IFCHR      0x00002000   ///< character special device\r
 #define _S_IFDIR      0x00004000   ///< directory\r
-#define _S_IFBLK      0x00006000   ///< block special\r
+#define _S_IFBLK      0x00006000   ///< block special device\r
 #define _S_IFREG      0x00008000   ///< regular\r
 #define _S_IFSOCK     0x0000C000   ///< socket\r
 #define _S_ITTY       0x00010000   ///< File connects to a TTY device\r
-#define _S_IWTTY      0x00020000   ///< TTY receives Wide characters\r
+#define _S_IWTTY      0x00020000   ///< TTY sends and receives Wide characters\r
 #define _S_ICONSOLE   0x00030000   ///< UEFI Console Device\r
 \r
 /*  UEFI specific (FAT file system) File attributes.\r