Changeset 154 for trunk/src/helpers/xstring.c
- Timestamp:
- Apr 16, 2002, 8:27:19 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/xstring.c
r153 r154 1549 1549 } 1550 1550 1551 /* 1552 *@@ xstrCatf: 1553 * like xstrPrintf, but appends to the 1554 * given XSTRING. 1555 * 1556 *@@added V0.9.19 (2002-04-14) [umoeller] 1557 */ 1558 1559 VOID xstrCatf(XSTRING *pstr, // in/out: string buffer (must be init'ed) 1560 PCSZ pcszFormat, // in: format string (like with printf) 1561 ...) // in: additional stuff (like with printf) 1562 { 1563 va_list args; 1564 CHAR szBuf[2000]; 1565 1566 va_start(args, pcszFormat); 1567 vsprintf(szBuf, pcszFormat, args); 1568 va_end(args); 1569 1570 xstrcat(pstr, szBuf, 0); 1571 } 1551 1572 1552 1573 // test case
Note:
See TracChangeset
for help on using the changeset viewer.