summaryrefslogtreecommitdiff
path: root/lib/libc/string
AgeCommit message (Collapse)Author
2001-12-22only _DIAGASSERT(dst != NULL) if n != 0lukem
2001-11-16sync with latest openbsd one. this one describes corner case of strlcat betteritojun
2001-11-16sync comment with latest openbsd codeitojun
2001-09-21make it works.yamt
2001-09-16Whitespace fixes and sort SEE ALSO.wiz
2001-08-24don't change errno on success.(SUSV2)yamt
this will fix error messages of some commands like setkey(8).
2001-07-07Note explicitly that memcpy does not guarantee good behavior on overlap.perry
2001-07-06memcpy(3) is not guaranteed to do overlaps, contrary to this historicaltv
manpage "BUGS" section. Nuke the entire section. Addresses PR lib/13370.
2001-05-22fix incorrect loop sentinel caused by previous de-linting.christos
2001-04-09mdoc'ifywiz
2001-03-22Sprinkle some restrict qualifiers.kleink
2001-03-02update the date; pointed out by mycroftcgd
2001-03-02don't forget the LIBRARY sectioncgd
2001-02-09De-lint. Reviewed by Christos.wiz
2001-02-08De-lint. Reviewed by christos.wiz
2001-02-08De-lint. Reviewed by christos.wiz
2001-01-26ANSIfy and de-lint. Reviewed by christos.wiz
2001-01-25remove bogus comment from EXAMPLE sectionjdolecek
Add HISTORY section, mentioning strlcpy()/strlcat() first appeared in OpenBSD 2.4 and when this came to NetBSD and FreeBSD
2001-01-13pull in openbsd strlcat.c 1.3 -> 1.4.itojun
Reverse the order of two loop invariant to make 'strlcat(0, "foo", 0)' not get a SEGV; Richard Kettlewell <rjk@greenend.org.uk>
2001-01-05fix wcs*cmp() behavior when the wide char string is equal. from sodaitojun
XXX assumes wchar_t == int.
2001-01-03remove registerlukem
2001-01-03sprinkle in _DIAGASSERT() as appropriatelukem
2001-01-02wording (correct?)itojun
2001-01-02comma at EOL -> perioditojun
2001-01-02Fix grammar nits, and update the STANDARDS section.kleink
2000-12-29Sprinkle some __restrict into <wchar.h>.kleink
2000-12-24split wide char section, just for readability/future possibility for .ifitojun
2000-12-23move wcs* and wmem* from lib/libc/locale to lib/libc/string.itojun
2000-11-24sync with latest openbsd.itojun
comment in strlcat(3) was wrong about return value.
2000-10-11Document the behaviour with consecutive separator characters.phil
2000-09-28The 'delim' argument is const, document it as such.hubertf
2000-07-20Add a description of strtok_r(3), and rip out the obsoleteness claim.kleink
2000-07-05s/Xt/Xr/enami
2000-06-29The declaration lives in <unistd.h>, actually; from Patrick Welche in PRkleink
lib/10294.
2000-06-14fix up NetBSD RCS Ids to match the standard, and the leading comment ascgd
to match as well. No functional changes.
2000-01-22Delint.mycroft
Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
1999-09-28xref strlcpy & strlcatlukem
1999-09-20back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.lukem
_DIAGASSERT() is still retained.
1999-09-16* use _DIAGASSERT() to check pointer arguments against NULL and filelukem
descriptors against -1 (as appropriate). * add actual checks which to detect stuff that would trigger_DIAGASSERT(), and attempt to return a sane error condition. * knf some code * remove some `register' decls. the first two items result in the addition of code similar to the following in various functions: _DIAGASSERT(path != NULL) #ifdef _DIAGNOSTIC if (path == NULL) { errno = EFAULT; return (-1); } #endif
1999-09-10due to an overwhelming rush of complaints, remove the check for NULLlukem
pointers. apparantly a lot of developers feel that potentially dumping core is better than returning a status of `0 bytes copied'...
1999-09-08add netbsd rcsid'slukem
update for knf (return value on separate line to function name...) check dst and src aren't null pointers before trying to use them enable strlcat/strlcpy
1999-09-08strlcpy() and strlcat() by Todd Miller <Todd.Miller@courtesan.com>, via openbsdlukem
1999-08-03Add and document support for using new archive state mode flags. Nowwrstuden
archived files will show up as either "a" (S_ARCH1) or "A" (S_ARCH2) in ls -l. As noted, archive state is fs-dependent, and not maintained by most fs's.
1999-04-18Correct omission made during last fix of HISTORY section.ad
1999-04-18Fix HISTORY section (somebody hacked the end off it).ad
1999-04-01Slight cleanup - no functional change.simonb
1999-03-22Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,garbled
so we shouldn't override it with versions in the manpages. Wheee!
1999-03-06Fix minor formatting error.mycroft
1999-02-24use ${ARCHDIR} instead of ${.CURDIR}/arch/${MACHINE_ARCH} where appropriatedrochner
libc builds on pmax again
1998-11-30Use the (new) sys_nsig instead of NSIG.thorpej