diff options
author | ru <ru@FreeBSD.org> | 2004-07-05 06:53:34 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-07-05 06:53:34 +0000 |
commit | fb1f106142236de87bc55c894569373c3559c0ab (patch) | |
tree | 8b55b52af9504e03f7fe2906d76823380725cbfc /lib/libufs/bread.3 | |
parent | b5e1c67f190b165b28331207530a72be81657177 (diff) | |
download | FreeBSD-src-fb1f106142236de87bc55c894569373c3559c0ab.zip FreeBSD-src-fb1f106142236de87bc55c894569373c3559c0ab.tar.gz |
Markup fixes.
Diffstat (limited to 'lib/libufs/bread.3')
-rw-r--r-- | lib/libufs/bread.3 | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/libufs/bread.3 b/lib/libufs/bread.3 index 5fe7224..80aa921 100644 --- a/lib/libufs/bread.3 +++ b/lib/libufs/bread.3 @@ -14,7 +14,7 @@ .Os .Sh NAME .Nm bread , bwrite -.Nd read and write blocks of a UFS filesystem +.Nd read and write blocks of a UFS file system .Sh LIBRARY .Lb libufs .Sh SYNOPSIS @@ -27,7 +27,10 @@ .Ft ssize_t .Fn bread "struct uufsd *disk" "ufs2_daddr_t blockno" "void *data" "size_t size" .Ft ssize_t -.Fn bwrite "struct uufsd *disk" "ufs2_daddr_t blockno" "const void *data" "size_t size" +.Fo bwrite +.Fa "struct uufsd *disk" "ufs2_daddr_t blockno" +.Fa "const void *data" "size_t size" +.Fc .Sh DESCRIPTION The .Fn bread @@ -38,14 +41,14 @@ functions provide a block read and write API for consumers. They operate on a userland UFS disk structure, and perform the read and write at a given block address, which uses the current -.Fa d_bsize +.Va d_bsize value of the structure. -.Pp +.Sh RETURN VALUES The .Fn bread and .Fn bwrite -functions return the amount read or 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 |