[046f4715] | 1 | *** TEST PRINTK *** |
---|
| 2 | This is a test of putk |
---|
| 3 | |
---|
| 4 | bad format -- %q in parentheses (q) |
---|
| 5 | bad format -- %lq in parentheses (q) |
---|
| 6 | %O octal upper case 16 -- 20 |
---|
| 7 | %o octal lower case of 16 -- 20 |
---|
| 8 | %I of 16 -- 16 |
---|
| 9 | %i of 16 -- 16 |
---|
| 10 | %D of 16 -- 16 |
---|
| 11 | %d of 16 -- 16 |
---|
| 12 | %-3d of 16 -- 16 |
---|
| 13 | %U of 16 -- 16 |
---|
| 14 | %u of 16 -- 16 |
---|
| 15 | %X of 16 -- 10 |
---|
| 16 | %x of 16 -- 10 |
---|
| 17 | %p of 0x1234 -- 1234 |
---|
[b1196e3] | 18 | %lo of 2147483647 -- 17777777777 |
---|
| 19 | %li of 2147483647 -- 2147483647 |
---|
| 20 | %lu of 2147483647 -- 2147483647 |
---|
| 21 | %lx of 2147483647 -- 7FFFFFFF |
---|
| 22 | %lo of -2147483648 -- 20000000000 |
---|
| 23 | %li of -2147483648 -- -2147483648 |
---|
| 24 | %lx of -2147483648 -- 80000000 |
---|
| 25 | %lo of 4294967295 -- 37777777777 |
---|
| 26 | %lu of 4294967295 -- 4294967295 |
---|
| 27 | %lx of 4294967295 -- FFFFFFFF |
---|
| 28 | %llo of 9223372036854775807 -- 777777777777777777777 |
---|
| 29 | %lli of 9223372036854775807 -- 9223372036854775807 |
---|
| 30 | %llu of 9223372036854775807 -- 9223372036854775807 |
---|
| 31 | %llx of 9223372036854775807 -- 7FFFFFFFFFFFFFFF |
---|
| 32 | %llo of -9223372036854775808 -- 1000000000000000000000 |
---|
| 33 | %lli of -9223372036854775808 -- -9223372036854775808 |
---|
| 34 | %llx of -9223372036854775808 -- 8000000000000000 |
---|
| 35 | %llo of 18446744073709551615 -- 1777777777777777777777 |
---|
| 36 | %llu of 18446744073709551615 -- 18446744073709551615 |
---|
| 37 | %llx of 18446744073709551615 -- FFFFFFFFFFFFFFFF |
---|
[046f4715] | 38 | %d of -16 -- -16 |
---|
| 39 | %d of -16 -- -16 |
---|
| 40 | %u of -16 -- 4294967280 |
---|
| 41 | %s of Mary Had a Little Lamb -- (Mary Had a Little Lamb) |
---|
| 42 | %s of NULL -- () |
---|
| 43 | %12s of joel -- ( joel) |
---|
| 44 | %4s of joel -- (joel) |
---|
| 45 | %-12s of joel -- (joel ) |
---|
| 46 | %-4s of joel -- (joel) |
---|
| 47 | %c of X -- (X) |
---|
[ba959a4b] | 48 | |
---|
| 49 | getchark - NULL getchar method - return -1 |
---|
| 50 | getchark - test getchar method - returns 0x35 |
---|
[3ee8430b] | 51 | *** END OF TEST PRINTK *** |
---|