20 #define O_TMPFILE O_TEMPORARY 
   22 int __open(
const char *pathname, 
int flags, ...)
 
   29         mode = va_arg(ap, 
int);
 
   32         return _open(pathname, flags,
 
   33                      (mode & 0400 ? _S_IREAD : 0) |
 
   34                          (mode & 0200 ? _S_IWRITE : 0));
 
   37     return _open(pathname, flags);
 
   40 int __creat(
const char *pathname, 
int mode)
 
   42     return _creat(pathname,
 
   43                   (mode & 0400 ? _S_IREAD : 0) | (mode & 0200 ? _S_IWRITE : 0));
 
int __creat(const char *pathname, int mode)
 
int __open(const char *pathname, int flags,...)
 
Header file for msvc/fcntl.c.