summaryrefslogtreecommitdiffstats
path: root/lib/libufs/sbread.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libufs/sbread.3')
-rw-r--r--lib/libufs/sbread.312
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/libufs/sbread.3 b/lib/libufs/sbread.3
index abdc616..e59365a 100644
--- a/lib/libufs/sbread.3
+++ b/lib/libufs/sbread.3
@@ -14,7 +14,7 @@
.Os
.Sh NAME
.Nm sbread , sbwrite
-.Nd read and write superblocks of a UFS filesystem
+.Nd read and write superblocks of a UFS file system
.Sh LIBRARY
.Lb libufs
.Sh SYNOPSIS
@@ -41,19 +41,15 @@ The
and
.Fn sbwrite
functions operate on the superblock field,
-.Fa d_sb ,
+.Va d_sb ,
associated with a given userland UFS disk structure.
Additionally, the
.Fn sbwrite
function will write to all superblock locations if the
.Fa all
value is non-zero.
-.Pp
-The
-.Fn sbread
-and
-.Fn sbwrite
-functions return 0 on success or -1 on error.
+.Sh RETURN VALUES
+.Rv -std sbread sbwrite
.Sh ERRORS
The function
.Fn sbread
OpenPOWER on IntegriCloud