Changeset de33dab in mainline for uspace/libc/generic/io/printf_core.c
- Timestamp:
- 2007-04-09T13:53:57Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 183788f1
- Parents:
- d0b1443
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/libc/generic/io/printf_core.c
rd0b1443 rde33dab 41 41 #include <ctype.h> 42 42 #include <string.h> 43 #include <async.h> /* for pseudo thread serialization */ 43 44 44 45 #define __PRINTF_FLAG_PREFIX 0x00000001 /**< show prefixes 0x or 0*/ … … 443 444 int width, precision; 444 445 uint64_t flags; 446 447 /* Don't let other pseudo threads interfere. */ 448 async_serialize_start(); 445 449 446 450 counter = 0; … … 675 679 } 676 680 681 async_serialize_end(); 677 682 return counter; 678 683 minus_out: 684 async_serialize_end(); 679 685 return -counter; 680 686 }
Note:
See TracChangeset
for help on using the changeset viewer.