repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
use internal malloc for posix_spawn file actions objects
[musl.git]
/
src
/
process
/
fdop.h
blob
7cf733b21dc14ce2708fac19fa46dea87fcdfa9b
1
#define FDOP_CLOSE 1
2
#define FDOP_DUP2 2
3
#define FDOP_OPEN 3
4
#define FDOP_CHDIR 4
5
#define FDOP_FCHDIR 5
6
7
struct
fdop
{
8
struct
fdop
*
next
, *
prev
;
9
int
cmd
,
fd
,
srcfd
,
oflag
;
10
mode_t mode
;
11
char
path
[];
12
};
13
14
#define malloc __libc_malloc
15
#define calloc __libc_calloc
16
#define realloc undef
17
#define free __libc_free