Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
_dos_creat, _dos_creatnew
◄Description► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Include: <dos.h>, <errno.h>
Syntax: unsigned _dos_creat( char *filename, unsigned attrib,
int *handle );
unsigned _dos_creatnew( char *filename, unsigned attrib,
int *handle );
Returns: 0 if successful, or the DOS error code if not.
errno: EACCES, EEXIST, EMFILE, ENOENT
-♦-