diff options
author | hmp <hmp@FreeBSD.org> | 2004-03-29 19:42:21 +0000 |
---|---|---|
committer | hmp <hmp@FreeBSD.org> | 2004-03-29 19:42:21 +0000 |
commit | 21981a0b0ef6210bce20420b7c516714f6cbb10c (patch) | |
tree | 712c3b9f3fca9c725230ca92ef1ea24bca184398 /share/man/man9/copy.9 | |
parent | 09ff2f9fe5de3481c7f3288f63fa9afd8b548297 (diff) | |
download | FreeBSD-src-21981a0b0ef6210bce20420b7c516714f6cbb10c.zip FreeBSD-src-21981a0b0ef6210bce20420b7c516714f6cbb10c.tar.gz |
Mdoc Police:
* Use .Fa instead of .Pa for function arguments.
* Utilize the .Po/.Pc commands for parenthesis
so the format is not ruined.
Inspired by: pjd's last commit to this file
Diffstat (limited to 'share/man/man9/copy.9')
-rw-r--r-- | share/man/man9/copy.9 | 46 |
1 files changed, 25 insertions, 21 deletions
diff --git a/share/man/man9/copy.9 b/share/man/man9/copy.9 index ba3ce96..58ac263 100644 --- a/share/man/man9/copy.9 +++ b/share/man/man9/copy.9 @@ -72,46 +72,50 @@ routines provide the following functionality: .Bl -tag -width "copyoutstr()" .It Fn copyin Copies -.Pa len +.Fa len bytes of data from the user-space address -.Pa uaddr +.Fa uaddr to the kernel-space address -.Pa kaddr . +.Fa kaddr . .It Fn copyout Copies -.Pa len +.Fa len bytes of data from the kernel-space address -.Pa kaddr +.Fa kaddr to the user-space address -.Pa uaddr . +.Fa uaddr . .It Fn copystr Copies a NUL-terminated string, at most -.Pa len +.Fa len bytes long, from kernel-space address -.Pa kfaddr +.Fa kfaddr to kernel-space address -.Pa kdaddr . +.Fa kdaddr . The number of bytes actually copied, including the terminating NUL, is returned in -.Pa *done -(if -.Pa done +.Fa *done +.Po +if +.Fa done is -.No non- Ns Dv NULL Ns ). +.No non- Ns Dv NULL +.Pc . .It Fn copyinstr Copies a NUL-terminated string, at most -.Pa len +.Fa len bytes long, from user-space address -.Pa uaddr +.Fa uaddr to kernel-space address -.Pa kaddr . +.Fa kaddr . The number of bytes actually copied, including the terminating NUL, is returned in -.Pa *done -(if -.Pa done +.Fa *done +.Po +if +.Fa done is -.No non- Ns Dv NULL Ns ). +.No non- Ns Dv NULL Ns +.Pc . .\" .It Fn copyoutstr .\" Copies a NUL-terminated string, at most .\" bytes long, from kernel-space address @@ -138,7 +142,7 @@ and functions return .Er ENAMETOOLONG if the string is longer than -.Pa len +.Fa len bytes. .Sh SEE ALSO .Xr fetch 9 , |