aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/fetch.9
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2009-10-05 15:16:28 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2009-10-05 15:16:28 +0000
commit55b95b33ed2ba6feae1139c96bae2f31a0fb23dd (patch)
tree115b59003d53e9e0c0ad0e459841f4a5333952a4 /share/man/man9/fetch.9
parent9fa8a03e517e6d543f5aabeec76e390ce2f9b6da (diff)
downloadsrc-55b95b33ed2ba6feae1139c96bae2f31a0fb23dd.tar.gz
src-55b95b33ed2ba6feae1139c96bae2f31a0fb23dd.zip
Make fetch(9) and store(9) manual pages closer to reality.
Notes
Notes: svn path=/head/; revision=197780
Diffstat (limited to 'share/man/man9/fetch.9')
-rw-r--r--share/man/man9/fetch.936
1 files changed, 24 insertions, 12 deletions
diff --git a/share/man/man9/fetch.9 b/share/man/man9/fetch.9
index 7de3ff7fbb99..ccf68668d3d8 100644
--- a/share/man/man9/fetch.9
+++ b/share/man/man9/fetch.9
@@ -34,29 +34,35 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 7, 1996
+.Dd October 5, 2009
.Dt FETCH 9
.Os
.Sh NAME
.Nm fetch ,
.Nm fubyte ,
-.Nm fusword ,
.Nm fuswintr ,
-.Nm fuword
+.Nm fuword ,
+.Nm fuword16 ,
+.Nm fuword32 ,
+.Nm fuword64
.Nd fetch data from user-space
.Sh SYNOPSIS
.In sys/types.h
.In sys/time.h
.In sys/systm.h
-.In sys/resourcevar.h
.Ft int
.Fn fubyte "const void *base"
+.Ft long
+.Fn fuword "const void *base"
.Ft int
-.Fn fusword "void *base"
+.Fn fuword16 "void *base"
+.Ft int32_t
+.Fn fuword32 "const void *base"
+.Ft int64_t
+.Fn fuword64 "const void *base"
+.In sys/resourcevar.h
.Ft int
.Fn fuswintr "void *base"
-.Ft long
-.Fn fuword "const void *base"
.Sh DESCRIPTION
The
.Nm
@@ -69,16 +75,22 @@ routines provide the following functionality:
.It Fn fubyte
Fetches a byte of data from the user-space address
.Pa base .
-.It Fn fusword
-Fetches a short word of data from the user-space address
+.It Fn fuword
+Fetches a word of data from the user-space address
+.Pa base .
+.It Fn fuword16
+Fetches 16 bits of data from the user-space address
+.Pa base .
+.It Fn fuword32
+Fetches 32 bits of data from the user-space address
+.Pa base .
+.It Fn fuword64
+Fetches 64 bits of data from the user-space address
.Pa base .
.It Fn fuswintr
Fetches a short word of data from the user-space address
.Pa 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 .
.El
.Sh RETURN VALUES
The