summaryrefslogtreecommitdiff
path: root/share/man/man9/copy.9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9/copy.9')
-rw-r--r--share/man/man9/copy.920
1 files changed, 16 insertions, 4 deletions
diff --git a/share/man/man9/copy.9 b/share/man/man9/copy.9
index c724c2479aa..ff373b11cd3 100644
--- a/share/man/man9/copy.9
+++ b/share/man/man9/copy.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: copy.9,v 1.11 2003/01/09 22:29:32 miod Exp $
+.\" $OpenBSD: copy.9,v 1.12 2005/01/04 22:57:51 jmc Exp $
.\" $NetBSD: copy.9,v 1.2 1996/01/09 03:23:04 thorpej Exp $
.\"
.\" Copyright (c) 1996 Jason R. Thorpe.
@@ -87,7 +87,11 @@ to kernel-space address
.Fa kdaddr .
The number of bytes actually copied, including the terminating null,
is returned in
-.Fa *done .
+.Fa *done ,
+if
+.Fa done
+is not
+.Dv NULL .
.It Fn copyinstr
Copies a null-terminated string, at most
.Fa len
@@ -97,7 +101,11 @@ to kernel-space address
.Fa kaddr .
The number of bytes actually copied, including the terminating null,
is returned in
-.Fa *done .
+.Fa *done ,
+if
+.Fa done
+is not
+.Dv NULL .
.It Fn copyoutstr
Copies a null-terminated string, at most
.Fa len
@@ -107,7 +115,11 @@ to user-space address
.Fa uaddr .
The number of bytes actually copied, including the terminating null,
is returned in
-.Fa *done .
+.Fa *done ,
+if
+.Fa done
+is not
+.Dv NULL .
.El
.Sh RETURN VALUES
The