Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

void nsIFile::create ( in unsigned long  type,
in unsigned long  permissions 
) [inherited]

create

This function will create a new file or directory in the file system. Any nodes that have not been created or resolved, will be. If the file or directory already exists create() will return NS_ERROR_FILE_ALREADY_EXISTS.

Parameters:
type This specifies the type of file system object to be made. The only two types at this time are file and directory which are defined above. If the type is unrecongnized, we will return an error (NS_ERROR_FILE_UNKNOWN_TYPE).
permissions The unix style octal permissions. This may be ignored on systems that do not need to do permissions.


Generated by  Doxygen 1.6.0   Back to index