cgd
d220ca5ba3
fix up NetBSD RCS Ids to match the standard, and the leading comment as
...
to match as well. No functional changes.
2000-06-14 06:48:47 +00:00
mycroft
605490369c
Delint.
...
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.
2000-01-22 22:19:07 +00:00
lukem
d7eb991a65
xref strlcpy & strlcat
1999-09-28 02:15:07 +00:00
lukem
d896261208
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
...
_DIAGASSERT() is still retained.
1999-09-20 04:38:56 +00:00
lukem
b48252f365
* use _DIAGASSERT() to check pointer arguments against NULL and file
...
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-16 11:44:54 +00:00
lukem
cb7f9fc8ac
due to an overwhelming rush of complaints, remove the check for NULL
...
pointers. apparantly a lot of developers feel that potentially dumping
core is better than returning a status of `0 bytes copied'...
1999-09-10 23:13:09 +00:00
lukem
e447fb4bb4
add netbsd rcsid's
...
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-08 22:56:55 +00:00
lukem
714b0ff65a
strlcpy() and strlcat() by Todd Miller <Todd.Miller@courtesan.com>, via openbsd
1999-09-08 22:01:13 +00:00
wrstuden
0217e4fdc2
Add and document support for using new archive state mode flags. Now
...
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-08-03 21:43:13 +00:00
ad
08168561e3
Correct omission made during last fix of HISTORY section.
1999-04-18 22:36:46 +00:00
ad
5083f44876
Fix HISTORY section (somebody hacked the end off it).
1999-04-18 22:35:19 +00:00
simonb
40d7b63c49
Slight cleanup - no functional change.
1999-04-01 00:27:49 +00:00
garbled
38c96853cf
Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
...
so we shouldn't override it with versions in the manpages. Wheee!
1999-03-22 19:44:33 +00:00
mycroft
9b7ce513f4
Fix minor formatting error.
1999-03-06 11:41:51 +00:00
drochner
a34eb7c1b7
use ${ARCHDIR} instead of ${.CURDIR}/arch/${MACHINE_ARCH} where appropriate
...
libc builds on pmax again
1999-02-24 15:05:20 +00:00
thorpej
f2403afe2c
Use the (new) sys_nsig instead of NSIG.
1998-11-30 20:43:53 +00:00
christos
8cc3f31582
delint
1998-11-15 17:21:49 +00:00
tron
bec823a926
Add note about special case when calling strcmp() or strcasecmp() with
...
len = 0 as suggested by Jaromir Dolecek in PR lib/6344.
1998-10-23 17:49:29 +00:00
kleink
24a514c54c
Need an internal name for strsep().
1998-10-13 20:32:09 +00:00
kleink
352f441050
Need an internal name for strdup().
1998-10-13 20:27:55 +00:00
kleink
0e34636229
Add an internal name for strtok_r().
1998-09-27 17:57:49 +00:00
kleink
dc895f2e20
Make makewhatis find strtok_r(3).
1998-09-14 21:35:34 +00:00
kleink
25d16c74e0
Install a link for strtok_r(3).
1998-09-14 21:34:43 +00:00
kleink
1ec8fda77e
Add a pointer to strtok_r().
1998-09-14 21:31:31 +00:00
wrstuden
b75289e7bc
'c' is only used #ifndef BZERO so wrap its declaration accordingly.
1998-08-09 22:48:11 +00:00
perry
2ea077b77c
switch bzero to version in memset.c.
...
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-04 06:25:10 +00:00
perry
8079ec33a6
Replace complicated and ugly makefile gook to make memmove,memcpy by
...
-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-08-04 04:48:16 +00:00
mycroft
131e747015
Make these compile without __AUDIT__.
1998-07-27 09:47:44 +00:00
mycroft
4024f73640
const poisoning.
1998-07-26 13:34:18 +00:00
fair
c46ab392dc
Principally, change foo(N) to .Xr foo N
...
Also, do some other mdoc tagging.
1998-04-28 04:07:04 +00:00
cgd
4da39bc7c1
limits.h if user-land, machine/limits.h if kernel or standalone
1998-03-27 05:34:15 +00:00
cgd
372e996fc3
when deciding whether to use standard system include files or libkern.h,
...
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-26 23:53:36 +00:00
fair
79091fd486
#include <string.h> now says #include <unistd.h> which matches the source code, per PR#4451. This should be checked for POSIX compliance, however.
1998-03-11 08:23:39 +00:00
mycroft
d0daf2d571
Add the same protection as other files have for _KERNEL, which at least works
...
for the kernel.
1998-02-22 09:12:57 +00:00
lukem
c197a64bba
don't assume buf is NL_TEXTMAX long
1998-02-16 11:27:15 +00:00
perry
312aca536f
add LIBRARY section to man page
1998-02-05 18:45:17 +00:00
thorpej
59b2a29cc7
Cast pointers to u_long before masking them, not int.
1998-02-04 09:01:44 +00:00
perry
182d0829f5
.Bx'ize
1998-02-03 21:20:52 +00:00
perry
741740203c
remove obsolete register declarations
1998-02-03 18:49:08 +00:00
kleink
b09ee57a44
Update SYNOPSIS: the function prototypes reside in <strings.h>.
1998-02-03 18:12:34 +00:00
perry
f11bd84939
note that bzero isn't yet being built from memset.c
1998-01-30 23:45:23 +00:00
perry
5f8a6c06f3
update to lite-2
1998-01-30 23:37:40 +00:00
cgd
5815a7b9b9
Update various aspects of the special target builds which should
...
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-23 18:58:05 +00:00
cgd
9bdf198379
add appropriate #ifdefs (kernel includes) so that these files can
...
be copied to libkern and built without modification.
1998-01-21 21:13:09 +00:00
kleink
f1d296dd60
Per XPG4, move the prototype of swab() from <string.h> to <unistd.h>.
1998-01-12 16:05:40 +00:00
mikel
290139e9fe
pointers are NULL, NUL is a char; deraadt@openbsd.org
1997-12-30 06:05:59 +00:00
matthias
5822b3639f
add lint stubs for files that are implemented in assembler on the pc532.
1997-12-07 00:24:50 +00:00
mikel
583fb06375
fix typo (s/A/An/)
1997-12-06 08:47:05 +00:00
mrg
4e252e8c4d
add missing .Nm entries. from spz@serpens.swb.de.
1997-11-14 02:04:36 +00:00
cgd
023cd79c6b
lint stubs for functions which ports use assembly versions. When using
...
an assembly version of a function, add the right lint stub to the Makefile.inc
which specifies the source to build the function (see the
arch/i386/*/Makefile.inc). Can't just lint the normal C versions of these
functions, because some of them don't _have_ normal C versions and if
that were done dependencies would get messed up.
1997-11-06 00:51:04 +00:00