.\" .\" $Id: cxDirAddSubDir.3,v 1.4 2003/03/06 04:54:40 chipx86 Exp $ .\" .\" Copyright (C) 2002-2003 The GNUpdate Project. .\" .\" This library is free software; you can redistribute it and/or .\" modify it under the terms of the GNU Library General Public .\" License as published by the Free Software Foundation; either .\" version 2 of the License, or (at your option) any later version. .\" .\" This library is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU .\" Library General Public License for more details. .\" .\" You should have received a copy of the GNU Library General Public .\" License along with this library; if not, write to the .\" Free Software Foundation, Inc., 59 Temple Place - Suite 330, .\" Boston, MA 02111-1307, USA. .\" .TH "cxDirAddSubDir" 3 "05 Mar 2003" "libcomprex" "The GNUpdate Project" .SH "NAME" cxDirAddSubDir \- Adds a subdirectory to a directory. .SH "SYNOPSIS" .ft B #include void cxDirAddSubDir(CxDirectory *dir, CxDirectory *subdir); .ft R .SH "PARAMETERS" .TP .B "dir" The directory. .TP .B "subdir" The subdirectory to add. .SH "DESCRIPTION" Adds a subdirectory to a directory. Note that this won't actually create a subdirectory in that directory. This just modifies the structure itself! The directory will claim the reference on \fIsubdir,\fR and will delete the structure when \fIdir\fR is deleted. If you wish to keep \fIsubdir\fR intact, you must claim a reference to it using \fBCX_LINK(\fR). .SH "RETURNS" Nothing.