mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-22 00:04:58 +00:00
Note that we can pass NULL as 4th argument for copystr() and copyinstr()
functions. With little mdoc(7) help from: hmp
This commit is contained in:
parent
7a5fa7f1e7
commit
449dfbbc83
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127581
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue