Site Tools


documentation:development:opera:pf25:ppgfldr:pgsfldr:spr:02spr006

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()

documentation/development/opera/pf25/ppgfldr/pgsfldr/spr/02spr006.txt · Last modified: 2022/10/10 16:53 by 127.0.0.1