.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "BEFS_BT_READ_SUPER" "" "06 October 2005" "" ""
.SH NAME
befs_bt_read_super \- read in btree superblock convert to cpu byteorder
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int befs_bt_read_super (struct super_block * \fIsb\fB, befs_data_stream * \fIds\fB, befs_btree_super * \fIsup\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIsb\fB\fR
Filesystem superblock
.TP
\fB\fIds\fB\fR
Datastream to read from
.TP
\fB\fIsup\fB\fR
Buffer in which to place the btree superblock
.SH "DESCRIPTION"
.PP
Calls befs_read_datastream to read in the btree superblock and
makes sure it is in cpu byteorder, byteswapping if necessary.
.PP
On success, returns BEFS_OK and *\fIsup\fR contains the btree superblock,
in cpu byte order.
.PP
On failure, BEFS_ERR is returned.