GRASS GIS 8 Programmer's Manual
8.5.0dev(2025)-565e82de51
unistd.h
Go to the documentation of this file.
1
#ifndef GRASS_MSVC_UNISTD_H
2
#define GRASS_MSVC_UNISTD_H
3
4
#include <io.h>
5
#define read _read
6
#define write _write
7
#define access _access
8
#define close _close
9
#define dup _dup
10
#define dup2 _dup2
11
#define unlink _unlink
12
#define isatty _isatty
13
14
#include <direct.h>
15
#define rmdir _rmdir
16
#define getcwd _getcwd
17
#define chdir _chdir
18
19
#include <process.h>
20
#define getpid _getpid
21
22
#define F_OK 0
/* Test for existence. */
23
#define X_OK 1
/* Test for execute permission. */
24
#define W_OK 2
/* Test for write permission. */
25
#define R_OK 4
/* Test for read permission. */
26
27
#define STDIN_FILENO 0
/* Standard input. */
28
#define STDOUT_FILENO 1
/* Standard output. */
29
#define STDERR_FILENO 2
/* Standard error output. */
30
31
#endif
msvc
unistd.h
Generated on Thu Mar 20 2025 07:33:31 for GRASS GIS 8 Programmer's Manual by
1.9.1