diff options
author | Juli Mallett <jmallett@FreeBSD.org> | 2003-06-10 18:36:16 +0000 |
---|---|---|
committer | Juli Mallett <jmallett@FreeBSD.org> | 2003-06-10 18:36:16 +0000 |
commit | dfa13bbf277b5494efc35a41f73ce0052c2c079a (patch) | |
tree | 553571380dd5dc4c0ddead95ecbe6099badbfcb6 | |
parent | 3cd7e22936f308f84ec65629d1fee568a4abdc7d (diff) |
Various cleanups of careless mistakes/omissions.
PR: 53149
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
Notes
Notes:
svn path=/head/; revision=116165
-rw-r--r-- | lib/libufs/bread.3 | 6 | ||||
-rw-r--r-- | lib/libufs/cgread.3 | 2 | ||||
-rw-r--r-- | lib/libufs/libufs.3 | 12 | ||||
-rw-r--r-- | lib/libufs/ufs_disk_close.3 | 2 |
4 files changed, 11 insertions, 11 deletions
diff --git a/lib/libufs/bread.3 b/lib/libufs/bread.3 index 44e0befb75aa..b18ce4af7e56 100644 --- a/lib/libufs/bread.3 +++ b/lib/libufs/bread.3 @@ -34,7 +34,7 @@ The .Fn bread and .Fn bwrite -functions provide a block read and write api for +functions provide a block read and write API for .Xr libufs 3 consumers. They operate on a userland UFS disk structure, and perform the read @@ -46,7 +46,7 @@ The .Fn bread and .Fn bwrite -functions return the amount written, or -1 in case of any error, +functions return the amount read or written, or -1 in case of any error, including short read. .Sh ERRORS The function @@ -54,7 +54,7 @@ The function may fail and set .Va errno for any of the errors specified for the library functions -.Xr ufs_disk_write +.Xr ufs_disk_write 3 or .Xr pread 2 . Additionally, it may follow the diff --git a/lib/libufs/cgread.3 b/lib/libufs/cgread.3 index 02eefad90880..9245a620bdaa 100644 --- a/lib/libufs/cgread.3 +++ b/lib/libufs/cgread.3 @@ -46,7 +46,7 @@ into the field of a userland UFS disk structure. It sets the .Fa d_lcg -field to the cylinger group number +field to the cylinder group number .Fa c . .Pp The diff --git a/lib/libufs/libufs.3 b/lib/libufs/libufs.3 index cf4b7d59e200..625080304364 100644 --- a/lib/libufs/libufs.3 +++ b/lib/libufs/libufs.3 @@ -8,11 +8,11 @@ .\" $FreeBSD$ .\" .Dd June 04, 2003 -.Dt SBREAD 3 +.Dt LIBUFS 3 .Os .Sh NAME .Nm libufs -.Nd operate on UFS disks from userland +.Nd operate on UFS filesystems from userland .Sh LIBRARY .Lb libufs .Sh SYNOPSIS @@ -35,7 +35,7 @@ and .Xr dumpfs 8 . The .Nm -library is designed to be simple, and provide functions that are +library is designed to be simple, and to provide functions that are traditionally useful to have. .Pp A disk is represented as the type @@ -50,14 +50,14 @@ Functions provided by return -1 in every functional error situation. They also set the .Fa d_error -field to a string describing the error. +field of +.Dq struct uufsd +to a string describing the error. .Sh SEE ALSO .Xr bread 3 , .Xr bwrite 3 , .Xr cgread 3 , .Xr cgread1 3 , -.Xr getino 3 , -.Xr putino 3 , .Xr sbread 3 , .Xr sbwrite 3 , .Xr ufs_disk_close 3 , diff --git a/lib/libufs/ufs_disk_close.3 b/lib/libufs/ufs_disk_close.3 index dea8dd31c808..ec38c944d903 100644 --- a/lib/libufs/ufs_disk_close.3 +++ b/lib/libufs/ufs_disk_close.3 @@ -84,7 +84,7 @@ may fail and set .Va errno for any of the errors specified for the library functions .Xr open 2 , -.Xr strdup 3 +.Xr strdup 3 . Additionally, it may follow the .Xr libufs 3 error methodologies in situations where no device could be found to |