summaryrefslogtreecommitdiff
path: root/lib/libc/string/Symbol.map
AgeCommit message (Collapse)Author
2024-11-14lib/libc/string: add memset_explicit() for compliance with C23Robert Clausecker
Patterned after explicit_bzero, visible from C23 onwards. Reviewed by: emaste, kevans Differential Revision: https://reviews.freebsd.org/D47286
2023-11-15libc: Remove empty comments in Symbol.mapBrooks Davis
These were left over from $FreeBSD$ removal. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D42612
2023-08-16Remove $FreeBSD$: one-line .h patternWarner Losh
Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
2022-08-25libc: Add strverscmp(3) and versionsort(3)Aymeric Wibo
Add a strverscmp(3) function to libc, a GNU extension I implemented by reading its glibc manual page. It orders strings following a much more natural ordering (e.g. "ent1 < ent2 < ent10" as opposed to "ent1 < ent10 < ent2" with strcmp(3)'s lexicographic ordering). Also add versionsort(3) for use as scandir(3)'s compar argument. Update manual page for scandir(3) and add one for strverscmp(3). Reviewed by: pstef, gbe, kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D35807
2021-07-15libc: add mempcpy(3) and wmempcpy(3)Konstantin Belousov
Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D31180
2020-12-16Implement strerror_l().Konstantin Belousov
Only for the arches that provide user-mode TLS. PR: 251651 Requested by: yuri Discussed with: emaste, jilles, tijl Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D27495 MFC after: 2 weeks Notes: svn path=/head/; revision=368692
2017-03-30Implement the memset_s(3) function as specified by the C11 ISO/IECKonstantin Belousov
9899:2011 Appendix K 3.7.4.1. Other needed supporting types, defines and constraint_handler infrastructure is added as specified in the C11 spec. Submitted by: Tom Rix <trix@juniper.net> Sponsored by: Juniper Networks Discussed with: ed MFC after: 3 weeks Differential revision: https://reviews.freebsd.org/D9903 Differential revision: https://reviews.freebsd.org/D10161 Notes: svn path=/head/; revision=316213
2016-08-14Add timingsafe_bcmp and timingsafe_memcmp.Xin LI
Obtained from: OpenBSD Reviewed by: trasz MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D7280 Notes: svn path=/head/; revision=304106
2014-10-07Add explicit_bzero(3) and its kernel counterpart.Xin LI
Obtained from: OpenBSD MFC after: 2 weeks Notes: svn path=/head/; revision=272673
2013-02-13Add strchrnul(), a GNU function similar to strchr(), except that it returnsNiclas Zeising
a pointer to the end of the string, rather than NULL, if the character was not found. Approved by: theraven Notes: svn path=/head/; revision=246766
2011-11-20Implement xlocale APIs from Darwin, mainly for use by libc++. This adds aDavid Chisnall
load of _l suffixed versions of various standard library functions that use the global locale, making them take an explicit locale parameter. Also adds support for per-thread locales. This work was funded by the FreeBSD Foundation. Please test any code you have that uses the C standard locale functions! Reviewed by: das (gdtoa changes) Approved by: dim (mentor) Notes: svn path=/head/; revision=227753
2009-03-04Add wcpcpy(3) and wcpncpy(3).David Schultz
Notes: svn path=/head/; revision=189361
2009-02-28- Add getdelim(), getline(), stpncpy(), strnlen(), wcsnlen(),David Schultz
wcscasecmp(), and wcsncasecmp(). - Make some previously non-standard extensions visible if POSIX_VISIBLE >= 200809. - Use restrict qualifiers in stpcpy(). - Declare off_t and size_t in stdio.h. - Bump __FreeBSD_version in case the new symbols (particularly getline()) cause issues with ports. Reviewed by: standards@ Notes: svn path=/head/; revision=189136
2008-12-06Import the strndup(3) function.Konstantin Belousov
Copyright attribution is kept the same as in original NetBSD source. Submitted by: Florian Smeets <flo kasimir com> Obtained from: NetBSD MFC after: 2 weeks Notes: svn path=/head/; revision=185690
2008-11-03Add the ffsll and flsll functions. These are ffs and fls operatingKonstantin Belousov
on long long arguments. Reviewed by: bde (previous version, that included asm implementation for all ffs and fls functions on i386 and amd64) MFC after: 2 weeks Notes: svn path=/head/; revision=184587
2008-04-10Add memrchr(3).Xin LI
Obtained from: OpenBSD Notes: svn path=/head/; revision=178051
2007-04-29Use C comments since we now preprocess these files with CPP.Daniel Eischen
Notes: svn path=/head/; revision=169092
2006-03-13Add symbol maps and initial symbol version definitions to libc.Daniel Eischen
Reviewed by: davidxu Notes: svn path=/head/; revision=156608