diff options
Diffstat (limited to 'share/man/man9')
-rw-r--r-- | share/man/man9/atomic.9 | 2 | ||||
-rw-r--r-- | share/man/man9/bios.9 | 32 | ||||
-rw-r--r-- | share/man/man9/bus_dma.9 | 2 | ||||
-rw-r--r-- | share/man/man9/device_add_child.9 | 4 | ||||
-rw-r--r-- | share/man/man9/device_get_softc.9 | 2 | ||||
-rw-r--r-- | share/man/man9/namei.9 | 2 | ||||
-rw-r--r-- | share/man/man9/timeout.9 | 1 |
7 files changed, 27 insertions, 18 deletions
diff --git a/share/man/man9/atomic.9 b/share/man/man9/atomic.9 index 4933432..be5c74ea2 100644 --- a/share/man/man9/atomic.9 +++ b/share/man/man9/atomic.9 @@ -23,7 +23,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 27, 2000 +.Dd September 27, 2005 .Os .Dt ATOMIC 9 .Sh NAME diff --git a/share/man/man9/bios.9 b/share/man/man9/bios.9 index a9b4113..e7922af 100644 --- a/share/man/man9/bios.9 +++ b/share/man/man9/bios.9 @@ -24,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd August 1, 1997 +.Dd August 9, 2005 .Dt BIOS 9 .Os .Sh NAME @@ -98,29 +98,39 @@ Searches a given BIOS memory range for one or more strings, and composes a printable concatenation of those found. The routine expects a structure describing the BIOS address .Fa range -(within 0xe0000 - 0xfffff), and a { NULL, 0, 0 } -terminated array of -.Fa bios_oem_signature +(within +.Li 0xe0000 +- +.Li 0xfffff ) , +and a { +.Dv NULL , Li 0 , 0 +} -terminated array of +.Vt bios_oem_signature structures which define the -.Fa anchor +.Va anchor string, an -.Fa offset +.Va offset from the beginning of the match (which may be negative), and -.Fa totlen +.Va totlen number of bytes to be collected from BIOS memory starting at that offset. Unmatched anchors are ignored, whereas matches are copied from BIOS memory starting at their corresponding -.Fa offset +.Vt offset with unprintable characters being replaced with space, and consecutive spaces -being suppressed. This composed string is stored in +being suppressed. +This composed string is stored in .Fa buffer up to the given .Fa maxlen -bytes (including trailing '\\0', and any trailing space surpressed). -If an error is encountered, i.e. trying to read out of said BIOS range, +bytes (including trailing +.Ql \e0 , +and any trailing space surpressed). +If an error is encountered, i.e.\& trying to read out of said BIOS range, other invalid input, or .Fa buffer overflow, a negative integer is returned, otherwise the -length of the composed string is returned. In particular, a return +length of the composed string is returned. +In particular, a return value of 0 means that none of the given anchor strings were found in the specified BIOS memory range. .It Fn BIOS_VADDRTOPADDR diff --git a/share/man/man9/bus_dma.9 b/share/man/man9/bus_dma.9 index 4b669b0..c3e59cd 100644 --- a/share/man/man9/bus_dma.9 +++ b/share/man/man9/bus_dma.9 @@ -60,7 +60,7 @@ .\" $FreeBSD$ .\" $NetBSD: bus_dma.9,v 1.25 2002/10/14 13:43:16 wiz Exp $ .\" -.Dd Aug 31, 2005 +.Dd August 31, 2005 .Dt BUS_DMA 9 .Os .Sh NAME diff --git a/share/man/man9/device_add_child.9 b/share/man/man9/device_add_child.9 index 51e7093..a71330c 100644 --- a/share/man/man9/device_add_child.9 +++ b/share/man/man9/device_add_child.9 @@ -111,9 +111,9 @@ devices. .Sh RETURN VALUES The new device if successful, NULL otherwise. .Sh SEE ALSO +.Xr device 9 , +.Xr device_find_children 9 , .Xr DEVICE_IDENTIFY 9 -.Xr device 9 -.Xr device_find_children 9 .Sh AUTHORS This manual page was written by .An Doug Rabson . diff --git a/share/man/man9/device_get_softc.9 b/share/man/man9/device_get_softc.9 index a31c5be..76f94d4 100644 --- a/share/man/man9/device_get_softc.9 +++ b/share/man/man9/device_get_softc.9 @@ -60,8 +60,8 @@ tree that predate this function. .Sh RETURN VALUES The pointer to the driver-specific instance variable is returned. .Sh SEE ALSO -.Xr DEVICE_PROBE 9 , .Xr device 9 , +.Xr DEVICE_PROBE 9 , .Xr device_set_softc 9 , .Xr driver 9 .Sh AUTHORS diff --git a/share/man/man9/namei.9 b/share/man/man9/namei.9 index 7429a27..01260c1 100644 --- a/share/man/man9/namei.9 +++ b/share/man/man9/namei.9 @@ -33,7 +33,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 27, 2003 +.Dd September 21, 2005 .Os .Dt NAMEI 9 .Sh NAME diff --git a/share/man/man9/timeout.9 b/share/man/man9/timeout.9 index d683e32..195dce2 100644 --- a/share/man/man9/timeout.9 +++ b/share/man/man9/timeout.9 @@ -370,7 +370,6 @@ if (sc->sc_flags & SCFLG_CALLOUT_RUNNING) { } } .Ed -.Pp .It The .Fn callout_pending , |