m_fcreat
This function creates a new file, identified by filespec. Any existing file matching the filespec will be truncated.
- Syntax: int far m_fcreat(FCB far *fp, char far *filespec,
int len, int sys, int nobuf)
- Parameters: FCB far *fp - Pointer to location to post new file information
char far *filespec - Path and filename of file to be created
int len - Length of the filespec
int sys - Unused value - set to 0
int nobuf - 0 = file will be buffered
non-zero = no buffering will be performed
- Returns: 0 - if successful
Any other value indicates an error condition.