Changeset 33678 in vbox for trunk/include
- Timestamp:
- Nov 2, 2010 10:30:46 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 67302
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/string.h
r33540 r33678 2041 2041 2042 2042 /** 2043 * String concatenation with overflow handling. 2044 * 2045 * @retval VINF_SUCCESS on success. 2046 * @retval VERR_BUFFER_OVERFLOW if the destination buffer is too small. The 2047 * buffer will contain as much of the string as it can hold, fully 2048 * terminated. 2049 * 2050 * @param pszDst The destination buffer. 2051 * @param cbDst The size of the destination buffer (in bytes). 2052 * @param pszSrc The source string. NULL is not OK. 2053 */ 2054 RTDECL(int) RTStrCat(char *pszDst, size_t cbDst, const char *pszSrc); 2055 2056 /** 2057 * String concatenation with overflow handling. 2058 * 2059 * @retval VINF_SUCCESS on success. 2060 * @retval VERR_BUFFER_OVERFLOW if the destination buffer is too small. The 2061 * buffer will contain as much of the string as it can hold, fully 2062 * terminated. 2063 * 2064 * @param pszDst The destination buffer. 2065 * @param cbDst The size of the destination buffer (in bytes). 2066 * @param pszSrc The source string. NULL is not OK. 2067 * @param cchSrcMax The maximum number of chars (not code points) to 2068 * copy from the source string, not counting the 2069 * terminator as usual. 2070 */ 2071 RTDECL(int) RTStrCatEx(char *pszDst, size_t cbDst, const char *pszSrc, size_t cchSrcMax); 2072 2073 /** 2043 2074 * Performs a case sensitive string compare between two UTF-8 strings. 2044 2075 *
Note:
See TracChangeset
for help on using the changeset viewer.