Changeset 26f9943 in mainline
- Timestamp:
- 2005-10-11T21:00:34Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 874e312a
- Parents:
- a783ca4
- Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/debug/print.c
ra783ca4 r26f9943 146 146 * 147 147 * Print characters from str using putchar() until 148 * \ x00 character is reached.148 * \\0 character is reached. 149 149 * 150 150 * @param str Characters to print. … … 210 210 * Print text formatted according the fmt parameter 211 211 * and variant arguments. Each formatting directive 212 * begins with % (percentage) character and one of the212 * begins with \% (percentage) character and one of the 213 213 * following character: 214 214 * 215 * % Prints the percentage character. 215 * \% Prints the percentage character. 216 * 216 217 * s The next variant argument is treated as char* 217 218 * and printed as a NULL terminated string. 219 * 218 220 * c The next variant argument is treated as a single char. 221 * 219 222 * p The next variant argument is treated as a maximum 220 223 * bit-width integer with respect to architecture 221 224 * and printed in full hexadecimal width. 225 * 222 226 * P As with 'p', but '0x' is prefixed. 227 * 223 228 * q The next variant argument is treated as a 64b integer 224 229 * and printed in full hexadecimal width. 230 * 225 231 * Q As with 'q', but '0x' is prefixed. 232 * 226 233 * l The next variant argument is treated as a 32b integer 227 234 * and printed in full hexadecimal width. 235 * 228 236 * L As with 'l', but '0x' is prefixed. 237 * 229 238 * w The next variant argument is treated as a 16b integer 230 239 * and printed in full hexadecimal width. 240 * 231 241 * W As with 'w', but '0x' is prefixed. 242 * 232 243 * b The next variant argument is treated as a 8b integer 233 244 * and printed in full hexadecimal width. 234 * N As with 'b', but '0x' is prefixed. 245 * 246 * B As with 'b', but '0x' is prefixed. 247 * 235 248 * d The next variant argument is treated as integer 236 249 * and printed in standard decimal format (only significant 237 250 * digits). 251 * 238 252 * x The next variant argument is treated as integer 239 253 * and printed in standard hexadecimal format (only significant 240 254 * digits). 255 * 241 256 * X As with 'x', but '0x' is prefixed. 257 * 242 258 * . The decimal number following period will be treated as precision 243 259 * for printing floating point numbers. One of 'e', 'E', 'f' or 'F' 244 260 * must follow. 261 * 245 262 * e The next variant argument is treated as double precision float 246 263 * and printed in exponent notation with only one digit before decimal point 247 264 * in specified precision. The exponent sign is printed as 'e'. 265 * 248 266 * E As with 'e', but the exponent sign is printed as 'E'. 267 * 249 268 * f The next variant argument is treated as double precision float 250 269 * and printed in decimal notation in specified precision. 270 * 251 271 * F As with 'f'. 252 272 * … … 255 275 * 256 276 * @param fmt Formatting NULL terminated string. 257 *258 277 */ 259 278 void printf(const char *fmt, ...) -
src/synch/waitq.c
ra783ca4 r26f9943 112 112 * @param nonblocking Blocking vs. non-blocking operation mode switch. 113 113 * 114 * If usec is greater than zero, regardless of the value of @nonblocking,114 * If usec is greater than zero, regardless of the value of nonblocking, 115 115 * the call will not return until either timeout or wakeup comes. 116 116 *
Note:
See TracChangeset
for help on using the changeset viewer.