summaryrefslogtreecommitdiff
path: root/lib/libc/string
AgeCommit message (Collapse)Author
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
1998-11-15delintchristos
1998-10-23Add note about special case when calling strcmp() or strcasecmp() withtron
len = 0 as suggested by Jaromir Dolecek in PR lib/6344.
1998-10-13Need an internal name for strsep().kleink
1998-10-13Need an internal name for strdup().kleink
1998-09-27Add an internal name for strtok_r().kleink
1998-09-14Make makewhatis find strtok_r(3).kleink
1998-09-14Install a link for strtok_r(3).kleink
1998-09-14Add a pointer to strtok_r().kleink
1998-08-09'c' is only used #ifndef BZERO so wrap its declaration accordingly.wrstuden
1998-08-04switch bzero to version in memset.c.perry
bzero.c is now a "#define BZERO//#include memset.c" type file. Remove comment from Makefile about the fact that this is on the todo list.
1998-08-04Replace complicated and ugly makefile gook to make memmove,memcpy byperry
-Ding the bcopy.c source (and similarly strchr from index.c, strrchr from rindex.c) with stub .c files for memmove, memcpy, strchr and strrchr that simply #define the appropriate thing and #include the appropriate .c file. Inspired by the way many m-d .S files handle the same thing. This radically simplifies the Makefile.inc for libc/string (and libkern).
1998-07-27Make these compile without __AUDIT__.mycroft
1998-07-26const poisoning.mycroft
1998-04-28Principally, change foo(N) to .Xr foo Nfair
Also, do some other mdoc tagging.
1998-03-27limits.h if user-land, machine/limits.h if kernel or standalonecgd
1998-03-26when deciding whether to use standard system include files or libkern.h,cgd
check _STANDALONE as well as _KERNEL. _KERNEL is incorrect for use when building boot blocks, and it looks like the rest of the code is already using _STANDALONE for this purpose.
1998-03-11#include <string.h> now says #include <unistd.h> which matches the source ↵fair
code, per PR#4451. This should be checked for POSIX compliance, however.
1998-02-22Add the same protection as other files have for _KERNEL, which at least worksmycroft
for the kernel.
1998-02-16don't assume buf is NL_TEXTMAX longlukem
1998-02-05add LIBRARY section to man pageperry
1998-02-04Cast pointers to u_long before masking them, not int.thorpej
1998-02-03.Bx'izeperry
1998-02-03remove obsolete register declarationsperry
1998-02-03Update SYNOPSIS: the function prototypes reside in <strings.h>.kleink
1998-01-30note that bzero isn't yet being built from memset.cperry
1998-01-30update to lite-2perry
1998-01-23Update various aspects of the special target builds which shouldcgd
have been done (by others) a long time ago: * fix PIC compilation to use new PIC flags, * make them 'make -j N' safe.
1998-01-21add appropriate #ifdefs (kernel includes) so that these files cancgd
be copied to libkern and built without modification.
1998-01-12Per XPG4, move the prototype of swab() from <string.h> to <unistd.h>.kleink
1997-12-30pointers are NULL, NUL is a char; deraadt@openbsd.orgmikel
1997-12-07add lint stubs for files that are implemented in assembler on the pc532.matthias