1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| | #include <stddef.h>
#define FDOP_CLOSE 1
#define FDOP_DUP2 2
#define FDOP_OPEN 3
#define FDOP_CHDIR 4
#define FDOP_FCHDIR 5
#define malloc __libc_malloc
#define calloc __libc_calloc
#define realloc undef
#define free __libc_free
#define fa_chain __actions
#define fa_ops __pad
#define fa_cnt __pad0[0]
#define FA_CNT_MAX \
(sizeof((posix_spawn_file_actions_t){0}.fa_ops) \
/sizeof((posix_spawn_file_actions_t){0}.fa_ops[0]))
int __faexpand(posix_spawn_file_actions_t *, size_t);
|