summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-03-29 19:23:45 +0000
committerpjd <pjd@FreeBSD.org>2004-03-29 19:23:45 +0000
commit58c539faf014092d2b0c00e69ba1a1722b29482d (patch)
tree8f743ba12afc337aeb331f30c6ea213363609172 /share
parent1d1b2c7f35d1158639ebc40e2a97c5fdb1888f4c (diff)
downloadFreeBSD-src-58c539faf014092d2b0c00e69ba1a1722b29482d.zip
FreeBSD-src-58c539faf014092d2b0c00e69ba1a1722b29482d.tar.gz
Note that we can pass NULL as 4th argument for copystr() and copyinstr()
functions. With little mdoc(7) help from: hmp
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/copy.912
1 files changed, 10 insertions, 2 deletions
diff --git a/share/man/man9/copy.9 b/share/man/man9/copy.9
index cbc22ac..ba3ce96 100644
--- a/share/man/man9/copy.9
+++ b/share/man/man9/copy.9
@@ -93,7 +93,11 @@ to kernel-space address
.Pa kdaddr .
The number of bytes actually copied, including the terminating
NUL, is returned in
-.Pa *done .
+.Pa *done
+(if
+.Pa done
+is
+.No non- Ns Dv NULL Ns ).
.It Fn copyinstr
Copies a NUL-terminated string, at most
.Pa len
@@ -103,7 +107,11 @@ to kernel-space address
.Pa kaddr .
The number of bytes actually copied, including the terminating
NUL, is returned in
-.Pa *done .
+.Pa *done
+(if
+.Pa done
+is
+.No non- Ns Dv NULL Ns ).
.\" .It Fn copyoutstr
.\" Copies a NUL-terminated string, at most
.\" bytes long, from kernel-space address
OpenPOWER on IntegriCloud