Changeset 26659 in vbox for trunk/include
- Timestamp:
- Feb 19, 2010 2:42:37 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 57871
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/string.h
r26482 r26659 1012 1012 1013 1013 /** 1014 * String copy with overflow handling. 1015 * 1016 * @retval VINF_SUCCESS on success. 1017 * @retval VERR_BUFFER_OVERFLOW if the destination buffer is too small. The 1018 * buffer will contain as much of the string as it can hold, fully 1019 * terminated. 1020 * 1021 * @param pszDst The destination buffer. 1022 * @param cbDst The size of the destination buffer (in bytes). 1023 * @param pszSrc The source string. NULL is not OK. 1024 */ 1025 RTDECL(int) RTStrCopy(char *pszDst, size_t cbDst, const char *pszSrc); 1026 1027 /** 1028 * String copy with overflow handling. 1029 * 1030 * @retval VINF_SUCCESS on success. 1031 * @retval VERR_BUFFER_OVERFLOW if the destination buffer is too small. The 1032 * buffer will contain as much of the string as it can hold, fully 1033 * terminated. 1034 * 1035 * @param pszDst The destination buffer. 1036 * @param cbDst The size of the destination buffer (in bytes). 1037 * @param pszSrc The source string. NULL is not OK. 1038 * @param cchSrcMax The maximum number of chars (not code points) to 1039 * copy from the source string, not counting the 1040 * terminator as usual. 1041 */ 1042 RTDECL(int) RTStrCopyEx(char *pszDst, size_t cbDst, const char *pszSrc, size_t cchSrcMax); 1043 1044 /** 1014 1045 * Performs a case sensitive string compare between two UTF-8 strings. 1015 1046 *
Note:
See TracChangeset
for help on using the changeset viewer.