Changeset 102323 in vbox for trunk/src/libs/xpcom18a4/nsprpub
- Timestamp:
- Nov 27, 2023 3:00:21 PM (14 months ago)
- Location:
- trunk/src/libs/xpcom18a4/nsprpub/lib/libc
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/nsprpub/lib/libc/include/plstr.h
r102175 r102323 63 63 64 64 #ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP 65 #define PL_strlen VBoxNsplPL_strlen66 65 #define PL_strcmp VBoxNsplPL_strcmp 67 66 #define PL_strncmp VBoxNsplPL_strncmp … … 75 74 #define PL_strcasestr VBoxNsplPL_strcasestr 76 75 #define PL_strndup VBoxNsplPL_strndup 77 #define PL_strnlen VBoxNsplPL_strnlen78 76 #endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */ 79 77 80 78 PR_BEGIN_EXTERN_C 81 /*82 * PL_strlen83 *84 * Returns the length of the provided string, not including the trailing '\0'.85 */86 87 PR_EXTERN(PRUint32)88 PL_strlen(const char *str);89 90 /*91 * PL_strnlen92 *93 * Returns the length of the provided string, not including the trailing '\0',94 * up to the indicated maximum. The string will not be examined beyond the95 * maximum; if no terminating '\0' is found, the maximum will be returned.96 */97 98 PR_EXTERN(PRUint32)99 PL_strnlen(const char *str, PRUint32 max);100 101 79 /* 102 80 * PL_strncpy
Note:
See TracChangeset
for help on using the changeset viewer.