Changeset 103444 in vbox for trunk/src/VBox/Runtime/common/string/RTStrCat.cpp
- Timestamp:
- Feb 19, 2024 1:58:17 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/RTStrCat.cpp
r103284 r103444 45 45 46 46 47 DECLINLINE(int) rtStrCat(char *pszDst, size_t cbDst, const char *pszSrc)47 RTDECL(int) RTStrCat(char *pszDst, size_t cbDst, const char *pszSrc) 48 48 { 49 49 char *pszDst2 = RTStrEnd(pszDst, cbDst); … … 65 65 return VERR_BUFFER_OVERFLOW; 66 66 } 67 68 RTDECL(int) RTStrCat(char *pszDst, size_t cbDst, const char *pszSrc)69 {70 return rtStrCat(pszDst, cbDst, pszSrc);71 }72 67 RT_EXPORT_SYMBOL(RTStrCat); 73 68 74 RTDECL(char *) RTStrCat2(char *pszDst, size_t cbDst, const char *pszSrc)75 {76 return RT_SUCCESS(rtStrCat(pszDst, cbDst, pszSrc)) ? pszDst : NULL;77 }78 RT_EXPORT_SYMBOL(RTStrCat2);79
Note:
See TracChangeset
for help on using the changeset viewer.