.\" 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 "DERIVE_PARENT" "9" "09 October 2005" "" ""
.SH NAME
derive_parent \- basically like dirname(1)
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct device_node * derive_parent (const char * \fIpath\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIpath\fB\fR
the full_name of a node to be added to the tree
.SH "DESCRIPTION"
.PP
Returns the node which should be the parent of the node
described by path. E.g., for path = ``/foo/bar'', returns
the node with full_name = ``/foo''\&.