DragonFly On-Line Manual Pages

Search: Section:  


cxDirAddFile(3)              The GNUpdate Project              cxDirAddFile(3)

NAME

cxDirAddFile - Adds a file to the directory.

SYNOPSIS

#include <comprex.h> void cxDirAddFile(CxDirectory *dir, CxFile *file);

PARAMETERS

dir The directory. file The file to add.

DESCRIPTION

Adds a file to the directory. Note that this won't actually create a file in that directory. This just modifies the structure itself! The directory will claim the reference on file, and will delete the structure when dir is deleted. If you wish to keep file intact, you must claim a reference to it using CX_LINK().

RETURNS

Nothing. libcomprex 05 Mar 2003 cxDirAddFile(3)

Search: Section: