mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 04:26:07 +00:00

Closes #124635. Some parameter types in the definition of `posix_spawn` currently do not match the standard. This patch resolves the issue. ref: https://man7.org/linux/man-pages/man3/posix_spawn.3.html
60 lines
1.4 KiB
YAML
60 lines
1.4 KiB
YAML
header: spawn.h
|
|
header_template: spawn.h.def
|
|
macros: []
|
|
types:
|
|
- type_name: posix_spawn_file_actions_t
|
|
- type_name: posix_spawnattr_t
|
|
- type_name: pid_t
|
|
- type_name: mode_t
|
|
enums: []
|
|
objects: []
|
|
functions:
|
|
- name: posix_spawn
|
|
standards:
|
|
- POSIX
|
|
return_type: int
|
|
arguments:
|
|
- type: pid_t *__restrict
|
|
- type: const char *__restrict
|
|
- type: posix_spawn_file_actions_t *
|
|
- type: posix_spawnattr_t *__restrict
|
|
- type: char * const * __restrict
|
|
- type: char * const * __restrict
|
|
- name: posix_spawn_file_actions_addclose
|
|
standards:
|
|
- POSIX
|
|
return_type: int
|
|
arguments:
|
|
- type: posix_spawn_file_actions_t *
|
|
- type: int
|
|
- name: posix_spawn_file_actions_adddup2
|
|
standards:
|
|
- POSIX
|
|
return_type: int
|
|
arguments:
|
|
- type: posix_spawn_file_actions_t *
|
|
- type: int
|
|
- type: int
|
|
- name: posix_spawn_file_actions_addopen
|
|
standards:
|
|
- POSIX
|
|
return_type: int
|
|
arguments:
|
|
- type: posix_spawn_file_actions_t *__restrict
|
|
- type: int
|
|
- type: const char *__restrict
|
|
- type: int
|
|
- type: mode_t
|
|
- name: posix_spawn_file_actions_destroy
|
|
standards:
|
|
- POSIX
|
|
return_type: int
|
|
arguments:
|
|
- type: posix_spawn_file_actions_t *
|
|
- name: posix_spawn_file_actions_init
|
|
standards:
|
|
- POSIX
|
|
return_type: int
|
|
arguments:
|
|
- type: posix_spawn_file_actions_t *
|