diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2005-01-04 22:57:52 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2005-01-04 22:57:52 +0000 |
commit | 969585e9d94a90393c784e69a0aae615fb01de0c (patch) | |
tree | 4af075649a7fd1b99a31d04e94cc866a2224fd18 | |
parent | 658aeb373a4dfc0c5b006945dfea4d9f43be0772 (diff) |
`done' can be NULL;
from matthias kilian (pr #4061): non-reversed version applied w/ NULL marked up
miod says it's right enough;
-rw-r--r-- | share/man/man9/copy.9 | 20 |
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 |