Changeset 19928 in vbox for trunk/include
- Timestamp:
- May 22, 2009 11:47:35 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/path.h
r19927 r19928 349 349 * concatenating the two partial paths. 350 350 * 351 * @returns IPRT status code. 352 * @retval VERR_PATH 351 * @retval VINF_SUCCESS on success. 352 * @retval VERR_BUFFER_OVERFLOW if the result is too big to fit within 353 * cbPathDst bytes. No changes has been made. 354 * @retval VERR_INVALID_PARAMETER if the string pointed to by pszPath is longer 355 * than cbPathDst-1 bytes (failed to find terminator). Asserted. 353 356 * 354 357 * @param pszPath The path to append pszAppend to. This serves as both 355 358 * input and output. This can be empty, in which case 356 359 * pszAppend is just copied over. 357 * @param c chPathDst The size of the buffer pszPath points to. This358 * should NOT be strlen(pszPath).360 * @param cbPathDst The size of the buffer pszPath points to, terminator 361 * included. This should NOT be strlen(pszPath). 359 362 * @param pszAppend The partial path to append to pszPath. This can be 360 363 * NULL, in which case nothing is done. … … 371 374 * sizeof(szBuf), "bar") will result in "C:bar". 372 375 */ 373 RTDECL(int) RTPathAppend(char *pszPath, size_t c chPathDst, const char *pszAppend);376 RTDECL(int) RTPathAppend(char *pszPath, size_t cbPathDst, const char *pszAppend); 374 377 375 378
Note:
See TracChangeset
for help on using the changeset viewer.