Subversion Repositories HelenOS-historic

Rev

Rev 68 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 68 Rev 77
Line 108... Line 108...
108
 *
108
 *
109
 * %    Prints the percentage character.
109
 * %    Prints the percentage character.
110
 * s    The next variant argument is treated as char*
110
 * s    The next variant argument is treated as char*
111
 *      and printed as a NULL terminated string.
111
 *      and printed as a NULL terminated string.
112
 * c    The next variant argument is treated as a single char.
112
 * c    The next variant argument is treated as a single char.
-
 
113
 * p    The next variant argument is treated as a maximum
-
 
114
 *      bit-width integer with respect to architecture
-
 
115
 *      and printed in full hexadecimal width.
-
 
116
 * P    As with 'p', but '0x' is prefixed.
-
 
117
 * q    The next variant argument is treated as a 64b integer
-
 
118
 *      and printed in full hexadecimal width.
-
 
119
 * Q    As with 'q', but '0x' is prefixed.
113
 * l    The next variant argument is treated as a 32b integer
120
 * l    The next variant argument is treated as a 32b integer
114
 *      and printed in full hexadecimal width.
121
 *      and printed in full hexadecimal width.
115
 * L    As with 'l', but '0x' is prefixed.
122
 * L    As with 'l', but '0x' is prefixed.
116
 * w    The next variant argument is treated as a 16b integer
123
 * w    The next variant argument is treated as a 16b integer
117
 *      and printed in full hexadecimal width.
124
 *      and printed in full hexadecimal width.
Line 167... Line 174...
167
                    break;
174
                    break;
168
 
175
 
169
                /*
176
                /*
170
                         * Hexadecimal conversions with fixed width.
177
                         * Hexadecimal conversions with fixed width.
171
                         */
178
                         */
-
 
179
                case 'P':
-
 
180
                    print_str("0x");
-
 
181
                case 'p':
-
 
182
                        print_fixed_hex(va_arg(ap, __native), sizeof(__native));
-
 
183
                    goto loop;
-
 
184
 
-
 
185
                case 'Q':
-
 
186
                    print_str("0x");
-
 
187
                case 'q':
-
 
188
                        print_fixed_hex(va_arg(ap, __native), INT64);
-
 
189
                    goto loop;
-
 
190
 
172
                case 'L':
191
                case 'L':
173
                    print_str("0x");
192
                    print_str("0x");
174
                case 'l':
193
                case 'l':
175
                        print_fixed_hex(va_arg(ap, __native), INT32);
194
                        print_fixed_hex(va_arg(ap, __native), INT32);
176
                    goto loop;
195
                    goto loop;