summaryrefslogtreecommitdiffstats
path: root/lib/libc/string
AgeCommit message (Expand)AuthorFilesLines
2020-04-16Remove AUTHORS section. This follows what is done in strstr.3claudio1-4/+2
2020-04-16Replace the simple memmem() implementation with a version that is O(n)claudio1-47/+167
2020-04-16Resync our strstr.c with the musl version. Removes some debug code andclaudio1-11/+3
2019-08-30adapt to bitstring(3) renaming, and look at that bit_ffs(3) is the actualderaadt1-3/+3
2019-05-16More consistently put remarks about the less useful LC_* categoties,schwarze2-14/+26
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.millert9-22/+22
2019-01-18Improve the description of locale dependency:schwarze2-14/+20
2018-10-01As per POSIX, when str{,r}chr is comparing it should convert c to a char.martijn4-8/+10
2018-04-30Add a missing header when compiling with -DDEBUGdenis1-1/+5
2018-01-18Instead of trying to handle ffs() with the normal rename-mark-hidden-and-aliasguenther1-2/+1
2017-11-29clang doesn't propagate attributes like "asm labels" and "visibility(hidden)"guenther3-6/+6
2017-11-28GNU ld has prefixed the contents of .gnu.warning.SYMBOL sectionstb5-10/+10
2017-10-12Add STANDARDS: denis@ spotted that it was missing.schwarze1-2/+19
2017-09-05New POSIX xlocale implementation written from scratch.schwarze11-96/+396
2017-09-02delete pointless .Tn ASCII found by jca@ with mandoc -Tlintschwarze1-5/+4
2017-08-31Mention strtok_r in STANDARDSjca1-2/+6
2017-08-14Use sendsyslog() directly instead of syslog_r() for the "backwards memcpy"guenther1-3/+12
2017-07-05void functions don't return 0tb1-6/+2
2017-04-12New strstr() implementation from musl libc by Rich Felker. Thismillert1-43/+179
2016-11-12the referred to EXAMPLES section is now in strncpy(3);jmc1-3/+3
2016-10-19Remove the save_errno dance inside strerror_r(3). It is from thebluhm1-5/+3
2016-10-16Roll back uintptr_t cast changes after discussions with tedu, otto anddtucker3-24/+7
2016-10-14Cast pointers to uintptr_t to avoid potential signedness errors.dtucker3-7/+24
2016-05-26The destination string is declared as "s" but referred to as "dst"millert1-5/+5
2016-05-11Add RETURN VALUES section and .Xr to memmem(3).schwarze1-3/+4
2016-03-30for some time now mandoc has not required MLINKS to functionjmc1-21/+1
2015-12-01Phrase allocation failure more clearly. ok deraadt@mmcc1-3/+3
2015-11-24Document that these functions are now in strings.h.daniel7-19/+22
2015-10-25The only thing that was translated into multiple languages in OpenBSDbluhm1-23/+1
2015-10-01Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In oneguenther5-11/+5
2015-09-12__strsignal() is now declared in hidden/signal.hguenther1-2/+0
2015-09-12Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go directguenther22-22/+47
2015-09-06Fix aliasing of sys_errlist, sys_nerr, sys_siglist, and sys_signameguenther1-7/+3
2015-09-05Use new framework for wrapping cat{open,gets,close}(), eliminatingguenther1-4/+1
2015-08-31Add framework for resolving (pun intended) libc namespace issues, usingguenther42-40/+84
2015-06-19Remove needless casts. There's no reason to cast delim to char *millert1-5/+4
2015-05-15Make index/rindex weak aliases of strchr/strrchr since they are notmillert4-90/+6
2015-03-02Update comment to match code; Caspar Schutijsermillert1-2/+2
2015-01-15Make strlcpy/strlcat slightly easier to read.millert4-86/+82
2014-12-12catch up with swab.c rev. 1.9:schwarze1-5/+23
2014-12-11update swab() to match the current posix definition. "rationale: none."tedu1-50/+24
2014-12-09no more string(3);jmc1-3/+2
2014-12-09In ingo's new world order, we do not want multiple manual pages describingderaadt3-247/+3
2014-11-30Replace all 14 instances of .St -ansiC-99 in our tree with .St -isoC-99.schwarze1-3/+3
2014-11-30restructure libc/string + libc/arch/*/string coperation regardingderaadt8-155/+309
2014-10-11Since deraadt@ remembers seeing strdup() on one particular 4.2BSD machine,schwarze1-4/+11
2014-10-08obvious malloc -> reallocarray, for mult int oflowderaadt1-2/+2
2014-07-09rephrase the stpcpy() warningnaddy1-2/+2
2014-06-21loosen the spec for timingsafe functions slightly, so as to nottedu1-10/+5
2014-06-21Protect explicit_bzero() from link-time optimizationmatthew1-7/+10