CreateFile

Creates a file.

Synopsis

Item CreateFile( char *path )

Description

This function creates a new file.

Arguments

path
The pathname for the file.

Return Value

The function returns a a value greater than or equal to 0 if the file is created successfully or a negative error code if an error occurs.

Implementation

SWI implemented in file folio V20.

Note: You do not need to delete the item returned by this function.

Associated Files

filefunctions.h

See Also

DeleteFile(), OpenDiskFile(), OpenDiskFileInDir()