GRASS GIS 8 Programmer's Manual  8.5.0dev(2025)-565e82de51
fcntl.h File Reference

Header file for msvc/open.c and msvc/creat.c. More...

#include <../ucrt/fcntl.h>
#include <io.h>
Include dependency graph for fcntl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define open   __open
 
#define creat   __creat
 
#define O_TMPFILE   O_TEMPORARY
 
#define O_ACCMODE   (_O_RDONLY | _O_WRONLY | _O_RDWR)
 

Functions

int __open (const char *, int,...)
 
int __creat (const char *, int)
 

Detailed Description

Header file for msvc/open.c and msvc/creat.c.

(C) 2025 by the GRASS Development Team

SPDX-License-Identifier: GPL-2.0-or-later

Author
Huidae Cho
Date
2025

Definition in file fcntl.h.

Macro Definition Documentation

◆ creat

#define creat   __creat

Definition at line 34 of file fcntl.h.

◆ O_ACCMODE

#define O_ACCMODE   (_O_RDONLY | _O_WRONLY | _O_RDWR)

Definition at line 37 of file fcntl.h.

◆ O_TMPFILE

#define O_TMPFILE   O_TEMPORARY

Definition at line 36 of file fcntl.h.

◆ open

#define open   __open

Definition at line 33 of file fcntl.h.

Function Documentation

◆ __creat()

int __creat ( const char *  pathname,
int  mode 
)

Definition at line 40 of file fcntl.c.

◆ __open()

int __open ( const char *  pathname,
int  flags,
  ... 
)

Definition at line 22 of file fcntl.c.

References O_TMPFILE.