use internal malloc for posix_spawn file actions objects
[musl.git] / src / process / fdop.h
blob7cf733b21dc14ce2708fac19fa46dea87fcdfa9b
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
7 struct fdop {
8 struct fdop *next, *prev;
9 int cmd, fd, srcfd, oflag;
10 mode_t mode;
11 char path[];
14 #define malloc __libc_malloc
15 #define calloc __libc_calloc
16 #define realloc undef
17 #define free __libc_free