Add SCNd8, SCNi8, SCNo8, SCNx8, SCNu*.
authordrepper <drepper>
Mon, 22 Dec 1997 20:45:48 +0000 (20:45 +0000)
committerdrepper <drepper>
Mon, 22 Dec 1997 20:45:48 +0000 (20:45 +0000)
sysdeps/wordsize-64/inttypes.h

index c62d516..8ec8095 100644 (file)
@@ -313,20 +313,29 @@ typedef unsigned long int uint_fast64_t;
 /* Macros for printing format specifiers.  */
 
 /* Decimal notation.  */
+#define SCNd8          "hhd"
 #define SCNd16         "hd"
 #define SCNd32         "d"
 #define SCNd64         "ld"
 
+#define SCNi8          "hhi"
 #define SCNi16         "hi"
 #define SCNi32         "i"
 #define SCNi64         "li"
 
+#define SCNu8          "hhu"
+#define SCNu16         "hu"
+#define SCNu32         "u"
+#define SCNu64         "lu"
+
 /* Octal notation.  */
+#define SCNo8          "hho"
 #define SCNo16         "ho"
 #define SCNo32         "o"
 #define SCNo64         "lo"
 
 /* Hexadecimal notation.  */
+#define SCNx8          "hhx"
 #define SCNx16         "hx"
 #define SCNx32         "x"
 #define SCNx64         "lx"