Rev 63 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 63 | Rev 66 | ||
---|---|---|---|
Line 105... | Line 105... | ||
105 | * and variant arguments. Each formatting directive |
105 | * and variant arguments. Each formatting directive |
106 | * begins with % (percentage) character and one of the |
106 | * begins with % (percentage) character and one of the |
107 | * following character: |
107 | * following character: |
108 | * |
108 | * |
109 | * % Prints the percentage character. |
109 | * % Prints the percentage character. |
110 | * s The next variant argument is threated 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 threated as a single char. |
112 | * c The next variant argument is treated as a single char. |
113 | * l The next variant argument is threated as a 32b integer |
113 | * l The next variant argument is treated as a 32b integer |
114 | * and printed in full hexadecimal width. |
114 | * and printed in full hexadecimal width. |
115 | * L As with 'l', but '0x' is prefixed. |
115 | * L As with 'l', but '0x' is prefixed. |
116 | * w The next variant argument is threated as a 16b integer |
116 | * w The next variant argument is treated as a 16b integer |
117 | * and printed in full hexadecimal width. |
117 | * and printed in full hexadecimal width. |
118 | * W As with 'w', but '0x' is prefixed. |
118 | * W As with 'w', but '0x' is prefixed. |
119 | * b The next variant argument is threated as a 8b integer |
119 | * b The next variant argument is treated as a 8b integer |
120 | * and printed in full hexadecimal width. |
120 | * and printed in full hexadecimal width. |
121 | * N As with 'b', but '0x' is prefixed. |
121 | * N As with 'b', but '0x' is prefixed. |
122 | * d The next variant argument is threated as integer |
122 | * d The next variant argument is treated as integer |
123 | * and printed in standard decimal format (only significant |
123 | * and printed in standard decimal format (only significant |
124 | * digits). |
124 | * digits). |
125 | * x The next variant argument is threated as integer |
125 | * x The next variant argument is treated as integer |
126 | * and printed in standard hexadecimal format (only significant |
126 | * and printed in standard hexadecimal format (only significant |
127 | * digits). |
127 | * digits). |
128 | * X As with 'x', but '0x' is prefixed. |
128 | * X As with 'x', but '0x' is prefixed. |
129 | * |
129 | * |
130 | * All other characters from fmt except the formatting directives |
130 | * All other characters from fmt except the formatting directives |