Changeset 102174 in vbox for trunk/src/libs/xpcom18a4/nsprpub
- Timestamp:
- Nov 21, 2023 8:19:57 AM (14 months ago)
- Location:
- trunk/src/libs/xpcom18a4/nsprpub/lib/libc
- Files:
-
- 4 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/nsprpub/lib/libc/include/plstr.h
r101764 r102174 72 72 #define PL_strncpy VBoxNsplPL_strncpy 73 73 #define PL_strncpyz VBoxNsplPL_strncpyz 74 #define PL_strrchr VBoxNsplPL_strrchr75 74 #define PL_strcaserstr VBoxNsplPL_strcaserstr 76 75 #define PL_strcasestr VBoxNsplPL_strcasestr 77 76 #define PL_strndup VBoxNsplPL_strndup 78 77 #define PL_strnlen VBoxNsplPL_strnlen 79 #define PL_strnstr VBoxNsplPL_strnstr80 #define PL_strpbrk VBoxNsplPL_strpbrk81 #define PL_strrstr VBoxNsplPL_strrstr82 78 #endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */ 83 79 … … 227 223 PL_strncasecmp(const char *a, const char *b, PRUint32 max); 228 224 229 /*230 * PL_strrchr231 *232 * Returns a pointer to the last instance of the specified character in the233 * provided string. It returns null if the character is not found, or if the234 * provided string is null. The character may be the null character.235 */236 237 PR_EXTERN(char *)238 PL_strrchr(const char *s, char c);239 240 /*241 * NOTE: Looking for strcasechr, strcaserchr, strncasechr, or strncaserchr?242 * Use strpbrk, strprbrk, strnpbrk or strnprbrk.243 */244 245 /*246 * PL_strpbrk247 *248 * Returns a pointer to the first instance in the first string of any character249 * (not including the terminating null character) of the second string. It returns250 * null if either string is null.251 */252 253 PR_EXTERN(char *)254 PL_strpbrk(const char *s, const char *list);255 256 /*257 * PL_strrstr258 *259 * Returns a pointer to the last instance of the little string within the big one.260 * It returns null if either string is null.261 */262 263 PR_EXTERN(char *)264 PL_strrstr(const char *big, const char *little);265 266 /*267 * PL_strnstr268 *269 * Returns a pointer to the first instance of the little string within the first270 * n characters of the big one. It returns null if either string is null. It271 * returns null if the length of the little string is greater than n.272 */273 274 PR_EXTERN(char *)275 PL_strnstr(const char *big, const char *little, PRUint32 n);276 277 /*278 * PL_strcasestr279 *280 * Returns a pointer to the first instance of the little string within the big one,281 * ignoring case. It returns null if either string is null.282 */283 284 PR_EXTERN(char *)285 PL_strcasestr(const char *big, const char *little);286 287 /*288 * Things not (yet?) included: strspn/strcspn, strsep.289 * memchr, memcmp, memcpy, memccpy, index, rindex, bcmp, bcopy, bzero.290 * Any and all i18n/l10n stuff.291 */292 293 225 PR_END_EXTERN_C 294 226
Note:
See TracChangeset
for help on using the changeset viewer.