.\" 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_BTREE_SEEKLEAF" "9" "09 October 2005" "" "" .SH NAME befs_btree_seekleaf \- Find the first leafnode in the btree .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int befs_btree_seekleaf (struct super_block * \fIsb\fB, befs_data_stream * \fIds\fB, befs_btree_super * \fIbt_super\fB, befs_btree_node * \fIthis_node\fB, befs_off_t * \fInode_off\fB); \fR .SH "ARGUMENTS" .TP \fB\fIsb\fB\fR Filesystem superblock .TP \fB\fIds\fB\fR Datastream containing btree .TP \fB\fIbt_super\fB\fR Pointer to the superblock of the btree .TP \fB\fIthis_node\fB\fR Buffer to return the leafnode in .TP \fB\fInode_off\fB\fR Pointer to offset of current node within datastream. Modified by the function. .SH "DESCRIPTION" .PP .PP Helper function for btree traverse. Moves the current position to the start of the first leaf node. .PP Also checks for an empty tree. If there are no keys, returns BEFS_BT_EMPTY.