[libc] Revise the definition of posix_spawn. (#124686)

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
This commit is contained in:
c8ef
2025-01-29 00:23:09 +08:00
committed by GitHub
parent e38f4f6904
commit 8ce0d05b88

View File

@@ -18,8 +18,8 @@ functions:
- type: const char *__restrict
- type: posix_spawn_file_actions_t *
- type: posix_spawnattr_t *__restrict
- type: const char *__restrict *
- type: const char *__restrict *
- type: char * const * __restrict
- type: char * const * __restrict
- name: posix_spawn_file_actions_addclose
standards:
- POSIX