.Pa' =>
.Fa'
This commit is contained in:
parent
0df251764e
commit
a212048a9c
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: copy.9,v 1.2 1996/01/09 03:23:04 thorpej Exp $
|
||||
.\" $NetBSD: copy.9,v 1.3 1996/06/19 22:50:16 pk Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1996 Jason R. Thorpe.
|
||||
.\" All rights reserved.
|
||||
@ -65,47 +65,47 @@ 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 NULL-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
|
||||
NULL, is returned in
|
||||
.Pa *done .
|
||||
.Fa *done .
|
||||
.It Fn copyinstr
|
||||
Copies a NULL-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
|
||||
NULL, is returned in
|
||||
.Pa *done .
|
||||
.Fa *done .
|
||||
.It Fn copyoutstr
|
||||
Copies a NULL-terminated string, at most
|
||||
bytes long, from kernel-space address
|
||||
.Pa kaddr
|
||||
.Fa kaddr
|
||||
to user-space address
|
||||
.Pa uaddr .
|
||||
.Fa uaddr .
|
||||
The number of bytes actually copied, including the terminating
|
||||
NULL, is returned in
|
||||
.Pa *done .
|
||||
.Fa *done .
|
||||
.El
|
||||
.Sh RETURN VALUES
|
||||
The
|
||||
@ -117,7 +117,7 @@ In addition, the
|
||||
and
|
||||
.Fn copyoutstr
|
||||
funtions return ENAMETOOLONG if the string is longer than
|
||||
.Pa len
|
||||
.Fa len
|
||||
bytes.
|
||||
.Sh SEE ALSO
|
||||
.Xr fetch 9 ,
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: fetch.9,v 1.2 1996/01/09 21:59:24 perry Exp $
|
||||
.\" $NetBSD: fetch.9,v 1.3 1996/06/19 22:50:22 pk Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1996 Jason R. Thorpe.
|
||||
.\" All rights reserved.
|
||||
@ -60,17 +60,17 @@ routines provide the following functionality:
|
||||
.Bl -tag -width "fuswintr()"
|
||||
.It Fn fubyte
|
||||
Fetches a byte of data from the user-space address
|
||||
.Pa base .
|
||||
.Fa base .
|
||||
.It Fn fusword
|
||||
Fetches a short word of data from the user-space address
|
||||
.Pa base .
|
||||
.Fa base .
|
||||
.It Fn fuswintr
|
||||
Fetches a short word of data from the user-space address
|
||||
.Pa base .
|
||||
.Fa base .
|
||||
This function is safe to call during an interrupt context.
|
||||
.It Fn fuword
|
||||
Fetches a word of data from the user-space address
|
||||
.Pa base .
|
||||
.Fa base .
|
||||
.El
|
||||
.Sh RETURN VALUES
|
||||
The
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: store.9,v 1.2 1996/01/09 21:59:27 perry Exp $
|
||||
.\" $NetBSD: store.9,v 1.3 1996/06/19 22:50:26 pk Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1996 Jason R. Thorpe.
|
||||
.\" All rights reserved.
|
||||
@ -60,17 +60,17 @@ routines provide the following functionality:
|
||||
.Bl -tag -width "suswintr()"
|
||||
.It Fn subyte
|
||||
Stores a byte of data to the user-space address
|
||||
.Pa base .
|
||||
.Fa base .
|
||||
.It Fn susword
|
||||
Stores a short word of data to the user-space address
|
||||
.Pa base .
|
||||
.Fa base .
|
||||
.It Fn suswintr
|
||||
Stores a short word of data to the user-space address
|
||||
.Pa base .
|
||||
.Fa base .
|
||||
This function is safe to call during an interrupt context.
|
||||
.It Fn suword
|
||||
Stores a word of data to the user-space address
|
||||
.Pa base .
|
||||
.Fa base .
|
||||
.El
|
||||
.Sh RETURN VALUES
|
||||
The
|
||||
|
Loading…
Reference in New Issue
Block a user