summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1997-12-28 12:06:29 +0000
committerwosch <wosch@FreeBSD.org>1997-12-28 12:06:29 +0000
commit2608f479cc82a1ffcbd0cec5334d4d4c24a9c0a7 (patch)
treef066749932a3a03e8e0a00e4b96b34d7950e2531 /share
parent25198655718d852db065e79725918b87ad8e141a (diff)
downloadFreeBSD-src-2608f479cc82a1ffcbd0cec5334d4d4c24a9c0a7.zip
FreeBSD-src-2608f479cc82a1ffcbd0cec5334d4d4c24a9c0a7.tar.gz
The terminating character in strings is `NUL', not `NULL'.
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/copy.98
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man9/copy.9 b/share/man/man9/copy.9
index 8f80a14..f43184f 100644
--- a/share/man/man9/copy.9
+++ b/share/man/man9/copy.9
@@ -82,24 +82,24 @@ bytes of data from the kernel-space address
to the user-space address
.Pa uaddr .
.It Fn copystr
-Copies a NULL-terminated string, at most
+Copies a NUL-terminated string, at most
.Pa len
bytes long, from kernel-space address
.Pa kfaddr
to kernel-space address
.Pa kdaddr .
The number of bytes actually copied, including the terminating
-NULL, is returned in
+NUL, is returned in
.Pa *done .
.It Fn copyinstr
-Copies a NULL-terminated string, at most
+Copies a NUL-terminated string, at most
.Pa len
bytes long, from user-space address
.Pa uaddr
to kernel-space address
.Pa kaddr .
The number of bytes actually copied, including the terminating
-NULL, is returned in
+NUL, is returned in
.Pa *done .
.\" .It Fn copyoutstr
.\" Copies a NULL-terminated string, at most
OpenPOWER on IntegriCloud