VirtualBox

Changeset 22736 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Sep 3, 2009 11:32:59 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
51878
Message:

IPRT: Added RTStrDupN.

File:
1 edited

Legend:

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

    r21741 r22736  
    173173
    174174/**
     175 * Allocates a new copy of the given UTF-8 substring.
     176 *
     177 * @returns Pointer to the allocated UTF-8 substring.
     178 * @param   pszString       UTF-8 string to duplicate.
     179 * @param   cchMax          The max number of chars to duplicate, not counting
     180 *                          the terminator.
     181 */
     182RTDECL(char *) RTStrDupN(const char *pszString, size_t cchMax);
     183
     184/**
    175185 * Validates the UTF-8 encoding of the string.
    176186 *
Note: See TracChangeset for help on using the changeset viewer.

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