VirtualBox

Changeset 19928 in vbox for trunk/include


Ignore:
Timestamp:
May 22, 2009 11:47:35 PM (16 years ago)
Author:
vboxsync
Message:

IPRT: More RTPathAppend docs updates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/path.h

    r19927 r19928  
    349349 * concatenating the two partial paths.
    350350 *
    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.
    353356 *
    354357 * @param   pszPath         The path to append pszAppend to. This serves as both
    355358 *                          input and output. This can be empty, in which case
    356359 *                          pszAppend is just copied over.
    357  * @param   cchPathDst      The size of the buffer pszPath points to. This
    358  *                          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).
    359362 * @param   pszAppend       The partial path to append to pszPath. This can be
    360363 *                          NULL, in which case nothing is done.
     
    371374 *          sizeof(szBuf), "bar") will result in "C:bar".
    372375 */
    373 RTDECL(int) RTPathAppend(char *pszPath, size_t cchPathDst, const char *pszAppend);
     376RTDECL(int) RTPathAppend(char *pszPath, size_t cbPathDst, const char *pszAppend);
    374377
    375378
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette