diff options
author | pjd <pjd@FreeBSD.org> | 2004-03-29 19:23:45 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-03-29 19:23:45 +0000 |
commit | 58c539faf014092d2b0c00e69ba1a1722b29482d (patch) | |
tree | 8f743ba12afc337aeb331f30c6ea213363609172 /share | |
parent | 1d1b2c7f35d1158639ebc40e2a97c5fdb1888f4c (diff) | |
download | FreeBSD-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.9 | 12 |
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 |