GRASS GIS 8 Programmer's Manual
8.5.0dev(2025)-565e82de51
Main Page
Related Pages
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
y
Enumerations
a
c
d
e
h
i
j
l
m
n
o
p
r
s
t
v
y
Enumerator
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
spawn.h
Go to the documentation of this file.
1
#ifndef GRASS_SPAWN_H
2
#define GRASS_SPAWN_H
3
4
#include <sys/types.h>
5
#include <
sys/stat.h
>
6
#include <
unistd.h
>
7
#include <
fcntl.h
>
8
9
#define SF_MODE_IN ((const char *)(O_RDONLY))
10
#define SF_MODE_OUT ((const char *)(O_WRONLY | O_CREAT | O_TRUNC))
11
#define SF_MODE_APPEND ((const char *)(O_WRONLY | O_CREAT | O_APPEND))
12
13
#define SF_STDIN ((const char *)STDIN_FILENO)
14
#define SF_STDOUT ((const char *)STDOUT_FILENO)
15
#define SF_STDERR ((const char *)STDERR_FILENO)
16
17
#define SF_REDIRECT_FILE ((const char *)1)
18
#define SF_REDIRECT_DESCRIPTOR ((const char *)2)
19
#define SF_CLOSE_DESCRIPTOR ((const char *)3)
20
#define SF_SIGNAL ((const char *)4)
21
#define SF_VARIABLE ((const char *)5)
22
#define SF_BINDING ((const char *)6)
23
#define SF_BACKGROUND ((const char *)7)
24
#define SF_DIRECTORY ((const char *)8)
25
#define SF_ARGVEC ((const char *)9)
26
27
enum
signal_action
{
28
SSA_NONE
,
29
SSA_IGNORE
,
30
SSA_DEFAULT
,
31
SSA_BLOCK
,
32
SSA_UNBLOCK
,
33
};
34
35
enum
signal_type
{
36
SST_PRE
,
37
SST_POST
,
38
SST_CHILD
,
39
};
40
41
#include <
grass/defs/spawn.h
>
42
43
#endif
spawn.h
fcntl.h
Header file for msvc/open.c and msvc/creat.c.
signal_action
signal_action
Definition:
spawn.h:27
SSA_UNBLOCK
@ SSA_UNBLOCK
Definition:
spawn.h:32
SSA_NONE
@ SSA_NONE
Definition:
spawn.h:28
SSA_IGNORE
@ SSA_IGNORE
Definition:
spawn.h:29
SSA_DEFAULT
@ SSA_DEFAULT
Definition:
spawn.h:30
SSA_BLOCK
@ SSA_BLOCK
Definition:
spawn.h:31
signal_type
signal_type
Definition:
spawn.h:35
SST_POST
@ SST_POST
Definition:
spawn.h:37
SST_CHILD
@ SST_CHILD
Definition:
spawn.h:38
SST_PRE
@ SST_PRE
Definition:
spawn.h:36
stat.h
unistd.h
include
grass
spawn.h
Generated on Thu Mar 20 2025 07:33:30 for GRASS GIS 8 Programmer's Manual by
1.9.1