Optimie x86-64 SSE4 memcmp for unaligned data.
[glibc.git] / posix / spawn_int.h
bloba3e934754fed616492448b4850aeb87e545c7955
1 /* Data structure to contain the action information. */
2 struct __spawn_action
4 enum
6 spawn_do_close,
7 spawn_do_dup2,
8 spawn_do_open
9 } tag;
11 union
13 struct
15 int fd;
16 } close_action;
17 struct
19 int fd;
20 int newfd;
21 } dup2_action;
22 struct
24 int fd;
25 const char *path;
26 int oflag;
27 mode_t mode;
28 } open_action;
29 } action;
32 extern int __posix_spawn_file_actions_realloc (posix_spawn_file_actions_t *
33 file_actions);
35 extern int __spawni (pid_t *pid, const char *path,
36 const posix_spawn_file_actions_t *file_actions,
37 const posix_spawnattr_t *attrp, char *const argv[],
38 char *const envp[], int use_path);