repo.or.cz
/
uclibc-ng.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libcrypt: set_errno to something valid
[uclibc-ng.git]
/
librt
/
spawn_int.h
blob
89c88dba91d5d27352db2e7b919c251dca3f1367
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
;
8
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
;
24
};
25
26
int
__posix_spawn_file_actions_realloc
(
posix_spawn_file_actions_t
*
fa
);