#include <io.h> int _creat(const char *path, int attrib);
This is a direct connection to the MS-DOS creat function call, int 0x21, %ah = 0x3c. The file is set to binary mode. This function can be hooked by the See section File System Extensions. If you don't want this you should use See section _dos_creat or See section _dos_creatnew.
On platforms where the LFN API (see section _use_lfn) is available,
_creat
calls function 0x716C of Interrupt 21h, to support long
file names.
The new file descriptor, else -1 on error.
not ANSI, not POSIX
Go to the first, previous, next, last section, table of contents.