.\"
.\" $FreeBSD: src/share/man/man9/fetch.9,v 1.6.2.4 2001/12/17 11:30:18 ru Exp $
.\"
-.Dd January 7, 1996
+.Dd December 16, 2004
.Dt FETCH 9
.Os
.Sh NAME
.Nm fetch ,
.Nm fubyte ,
-.Nm fusword ,
-.Nm fuswintr ,
+.Nm fuibyte ,
+.Nm fuiword ,
+.Nm fulong ,
+.Nm fuulong ,
.Nm fuword
.Nd fetch data from user-space
.Sh SYNOPSIS
.In sys/time.h
.In sys/systm.h
.In sys/resourcevar.h
+.\"
+.Ft int
+.Fo fubyte
+.Fa "const user_addr_t addr"
+.Fc
.Ft int
-.Fn fubyte "const void *base"
+.Fo fuibyte
+.Fa "const user_addr_t addr"
+.Fc
.Ft int
-.Fn fusword "void *base"
+.Fo fuiword
+.Fa "user_addr_t addr"
+.Fc
+.Ft int64_t
+.Fo fulong
+.Fa "user_addr_t addr"
+.Fc
+.Ft uint64_t
+.Fo fuulong
+.Fa "user_addr_t addr"
+.Fc
.Ft int
-.Fn fuswintr "void *base"
-.Ft long
-.Fn fuword "const void *base"
+.Fo fuword
+.Fa "user_addr_t addr"
+.Fc
.Sh DESCRIPTION
The
.Nm
The
.Nm
routines provide the following functionality:
-.Bl -tag -width "fuswintr()"
+.Bl -tag -width "fuiword()"
+.\" ==========
.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
-.Pa base .
-.It Fn fuswintr
-Fetches a short word of data from the user-space address
-.Pa base .
+.Pa addr .
+.\" ==========
+.It Fn fuibyte
+Fetches a byte of data from the user-space address
+.Pa addr .
+This function is safe to call during an interrupt context.
+.\" ==========
+.It Fn fuiword
+Fetches a word of data from the user-space address
+.Pa addr .
This function is safe to call during an interrupt context.
+.\" ==========
+.It Fn fulong
+Fetches a long word of data from the user-space address
+.Pa addr .
+.\" ==========
+.It Fn fuulong
+Fetches a unsigned long word of data from the user-space address
+.Pa addr .
+.\" ==========
.It Fn fuword
Fetches a word of data from the user-space address
-.Pa base .
+.Pa addr .
.El
.Sh RETURN VALUES
The