Changeset e3c762cd in mainline for generic/src/printf/vsnprintf.c
- Timestamp:
- 2006-05-05T11:59:19Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- de07bcf
- Parents:
- 22cf454d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/printf/vsnprintf.c
r22cf454d re3c762cd 40 40 41 41 /** Write string to given buffer. 42 * Write at most data->size characters including trailing zero. According to C99 has snprintfto return number42 * Write at most data->size characters including trailing zero. According to C99, snprintf() has to return number 43 43 * of characters that would have been written if enough space had been available. Hence the return value is not 44 * number of really printed characters but size of input string. Number of really used characters44 * number of really printed characters but size of the input string. Number of really used characters 45 45 * is stored in data->len. 46 46 * @param str source string to print … … 91 91 return printf_core(fmt, &ps, ap); 92 92 } 93 94
Note:
See TracChangeset
for help on using the changeset viewer.