summaryrefslogtreecommitdiff
path: root/lib/libc/string
AgeCommit message (Collapse)Author
2019-03-18restore the removed "function does something horrible" description,mrg
but leave the real description as well.
2018-07-08switch to FreeBSD's memmemchristos
2017-08-23PR/52499: Justin: stresep uses memmove with of-by-one lengthchristos
2017-07-03Remove workaround for ancient HTML generation code.wiz
2017-06-17Remove names from the NAME section which have their own man pages.abhinav
This is similar to the changes made in string(3) and memory(3) man pages previously. The reasin being that, when you do `whatis ffs', an extra entry will be there in the output for this page, which is confusing and unncessary. Bump date for changes in the NAME section.
2017-04-26Clean up the NAME section.abhinav
The entries in the NAME section of these man pages have man pages of their own, so it doesn't make sense to have their names here, instead they should be just described in the body (similar to what we do in math(3) man page). This also helps whatis(1) and apropos(1), as otherwise you would see multiple results with the same name in the output, while there is actually only one page with that name. Good example is: $ apropos -n 2 -M realloc realloc (3) general memory allocation operations realloc (3) general purpose memory allocation functions The first line is there because memory(3) man page had realloc in its NAME section. This commit will fix this issue. ok wiz@
2017-02-12overlapping strcpy is UB. use memmovemaya
from asan+ubsan
2017-01-12put back strerror_ss, it will be used shortly.christos
2017-01-12Add strerror_ss_r to be used by syslog_sschristos
2017-01-10PR/51814: Ngie Cooper: add <stdio.h> since sys_nerr is declared there onchristos
FreeBSD.
2016-10-16Add missing word.wiz
2016-10-15Add NetBSD CVS Id on top of the wcsnlen.c filekamil
2016-10-15Import wcsnlen(3) to libckamil
The wcsnlen(3) function conforms to POSIX.1-2008 and is an addition to the ISO C standard. size_t wcsnlen(const wchar_t *s, size_t maxlen); The wcsnlen(3) function computes the number of wide-characters in a wide- -string to which s points, not including NULL terminating wide-character code and checking no more than maxlen wide-characters. This function never examines wide-characters beyond a wide-string of maxlen size. This function is a safer version of wcslen(3): size_t wcslen(const wchar_t *s); Update STANDARDS section of wmemchr(3) describing wide-character functions.
2016-10-12add strchrnulchristos
2016-08-04Grammarsevan
2016-07-14Fix grammar.abhinav
2016-07-14Fix grammar.abhinav
2016-07-14Use .In for header file.abhinav
2016-07-14Add comma to separate the Nm entries.abhinav
2016-07-14Add missing words and fix grammar.abhinav
2016-07-14Fix sentence.abhinav
2016-07-14Fix grammar and be consistent between using 0 and zero.abhinav
2016-07-13Fix grammar and be consistent between using zero and 0.abhinav
2016-07-13Add STANDARDS section, referencing IEEE std 1003.1-2008abhinav
ok wiz@
2016-07-12Add missing word.wiz
2016-07-12Fix sentenceabhinav
2016-07-12Add STANDARDS section.abhinav
It is part of IEEE Std 1003.1-2001 and 2008, both, but there doesn't seem to be any difference between the two versions, therefore referencing the older standard.
2016-01-23Update synopses to match u_int/u_long/etc. changes. Do not bump date asdholland
it's not a substantive change.
2015-06-20PR 49988 Kamil Rytarowski: fix pastodholland
2015-05-09Update HISTORY from OpenBSD: strerror from 4.3 Reno, perror from v4.dholland
(this page was claiming both were from 4.4, which is clearly rubbish)
2015-04-01Strengthen prohibition against overlapping in strcpy(3).riastradh
2015-04-01grammar.christos
2015-04-01clarify what happens when strings overlap.christos
2015-03-23Explain why there is no consttime_memcmp().apb
Inspired by a patch from Kamil Rytarowski.
2015-01-20Fix non _REENTRANT build.christos
2014-11-14bump yearwiz
2014-11-14Commit to returning 1, not any nonzero value.riastradh
2014-09-24add strnstr.c from FreeBSDchristos
2014-09-24NUL byte instead of null byte.wiz
2014-09-24add strnstr from FreeBSDchristos
2014-07-19lua: updated from 5.1 to 5.3 work3lneto
* lua(1): - changed lua_Integer to intmax_t - updated distrib/sets/lists and etc/mtree - updated bsd.lua.mk - fixed bozohttpd (lua-bozo.c) - compatibilized bindings: gpio, sqlite * lua(4): - removed floating-point and libc dependencies using '#ifndef _KERNEL' - fixed division by zero and exponentiation - libkern: added isalnum(), iscntrl(), isgraph(), isprint() and ispunct() - acpica: removed isprint() from acnetbsd.h - libc: moved strcspn.c, strpbrk.c and strspn.c to common - removed stub headers - compatibilized bindings: luapmf, luasystm * reorganized luaconf.h * updated doc/CHANGES and doc/RESPONSIBLE
2014-06-23PR/42032 fixed overrun in bm_exec(), free(3) clean upsshm
2013-12-27moved to commonchristos
2013-11-06Fix build problems.tron
2013-09-02Missing alias for strerror_l.joerg
2013-08-28Make explicit_memset match memset's return value.riastradh
2013-08-28Fix sense of consttime_memequal and update all callers.riastradh
Now it returns true (nonzero) to mean equal and false (zero) to mean inequal, as the name suggests. As promised on tech-userlevel back in June: https://mail-index.netbsd.org/tech-userlevel/2013/06/24/msg007843.html
2013-08-19Add strerror_l.joerg
2013-08-19GC __indr_reference wrappers.joerg
2013-06-24Fix xref.wiz