test: fix tests including non-wrapper libgcc exception handling code
[uclibc-ng.git] / librt / spawn_int.h
blob1d990fc33b1a964fbe66a129f18cce0d5319dcb3
1 /* Data structure to contain the action information. */
2 struct __spawn_action {
3 enum {
4 spawn_do_close,
5 spawn_do_dup2,
6 spawn_do_open
7 } tag;
9 union {
10 struct {
11 int fd;
12 } close_action;
13 struct {
14 int fd;
15 int newfd;
16 } dup2_action;
17 struct {
18 int fd;
19 const char *path;
20 int oflag;
21 mode_t mode;
22 } open_action;
23 } action;
26 int __posix_spawn_file_actions_realloc(posix_spawn_file_actions_t *fa);
28 /* handle !LFS */
29 #ifndef __UCLIBC_HAS_LFS__
30 # define rlimit64 rlimit
31 # define getrlimit64 getrlimit
32 #endif
33 #ifndef O_LARGEFILE
34 # define O_LARGEFILE 0
35 #endif