Changeset 73445 in vbox for trunk/include
- Timestamp:
- Aug 2, 2018 10:54:16 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 124072
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/dbg.h
r69181 r73445 734 734 735 735 /** 736 * Command helper for writing formatted text to the debug console. 737 * 738 * @returns Number of bytes written. 739 * @param pCmdHlp Pointer to the command callback structure. 740 * @param pszFormat The format string. This may use all IPRT extensions as 741 * well as the debugger ones. 742 * @param ... Arguments specified in the format string. 743 */ 744 DECLINLINE(size_t) RT_IPRT_FORMAT_ATTR(2, 3) DBGCCmdHlpPrintfLen(PDBGCCMDHLP pCmdHlp, const char *pszFormat, ...) 745 { 746 va_list va; 747 int rc; 748 size_t cbWritten = 0; 749 750 va_start(va, pszFormat); 751 rc = pCmdHlp->pfnPrintfV(pCmdHlp, &cbWritten, pszFormat, va); 752 va_end(va); 753 754 return RT_SUCCESS(rc) ? cbWritten : 0; 755 } 756 757 /** 736 758 * @copydoc DBGCCMDHLP::pfnStrPrintf 737 759 */
Note:
See TracChangeset
for help on using the changeset viewer.