Constants needed for printing.
authorRonald G. Minnich <rminnich@google.com>
Thu, 16 Jan 2014 23:33:04 +0000 (15:33 -0800)
committerRonald G. Minnich <rminnich@google.com>
Thu, 16 Jan 2014 23:33:04 +0000 (15:33 -0800)
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
kern/include/ns.h

index 2316d96..7355553 100644 (file)
@@ -13,6 +13,8 @@ enum
        Runeerror       = 0xFFFD,       /* decoding error in UTF */
        Runemax         = 0x10FFFF,     /* 21-bit rune */
        Runemask        = 0x1FFFFF,     /* bits used by runes (see grep) */
+       NUMSIZE32       = 9,            /* max size of formatted 32 bit number */
+       NUMSIZE64       = 20,           /* max size of formatted 64 bit number */
 };
 
 extern int     abs(int);