GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
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
{
29
SSA_NONE
,
30
SSA_IGNORE
,
31
SSA_DEFAULT
,
32
SSA_BLOCK
,
33
SSA_UNBLOCK
,
34
};
35
36
enum
signal_type
37
{
38
SST_PRE
,
39
SST_POST
,
40
SST_CHILD
,
41
};
42
43
#include <
grass/defs/spawn.h
>
44
45
#endif
SSA_UNBLOCK
Definition:
spawn.h:33
SST_CHILD
Definition:
spawn.h:40
SST_POST
Definition:
spawn.h:39
SSA_DEFAULT
Definition:
spawn.h:31
SSA_NONE
Definition:
spawn.h:29
signal_action
signal_action
Definition:
spawn.h:27
signal_type
signal_type
Definition:
spawn.h:36
SSA_BLOCK
Definition:
spawn.h:32
SSA_IGNORE
Definition:
spawn.h:30
spawn.h
SST_PRE
Definition:
spawn.h:38
include
grass
spawn.h
Generated on Mon May 31 2021 05:21:32 for GRASS GIS 7 Programmer's Manual by
1.8.13