abfNewFile()

Creates an empty ABF file.

Syntax

intabfNewFile(const char *path);

Inputs

path
The full path of the file to be created.

Return Value

0
On success
1
On failure

Example

int ret;
ret = abfNewFile("output.bin");
if (ret)
{
/* post error message */
}

Comments

If the file specified by the path already exists, it is deleted.