CTL_STREAM_t ctl_ms_create_file(const char *name,
                                unsigned attrib);

ctl_ms_create_file creates a file with name name. The file is created with the attributes attrib.

If the file is created without error, f is initialized and can be used for further file operations.

Return Value

ctl_ms_create_file returns a standard status code.

Thread Safety

this is thread-safe.