diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2026-01-24 22:06:36 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2026-02-01 21:38:49 +0000 |
| commit | 6b9e7e922d8b6ddde292815771351c02519574e6 (patch) | |
| tree | bdd3dbe5f2205f5e8a28bf04a76f73b8a2348eea /include | |
| parent | 5b61a139a63c06ddebad71761d692e85a607f420 (diff) | |
libc: add posix_spawnattr_{get,set}execfd_np(3)
(cherry picked from commit 3f0aea09689f6c10740de78011469355208a19a5)
Diffstat (limited to 'include')
| -rw-r--r-- | include/spawn.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/spawn.h b/include/spawn.h index a93315930954..a8f40e49dce0 100644 --- a/include/spawn.h +++ b/include/spawn.h @@ -123,6 +123,13 @@ int posix_spawnattr_setsigdefault(posix_spawnattr_t * __restrict, const sigset_t * __restrict); int posix_spawnattr_setsigmask(posix_spawnattr_t * __restrict, const sigset_t * __restrict); + +#if __BSD_VISIBLE +int posix_spawnattr_setexecfd_np(posix_spawnattr_t * __restrict, int); +int posix_spawnattr_getexecfd_np(const posix_spawnattr_t * __restrict, + int * __restrict); +#endif + __END_DECLS #endif /* !_SPAWN_H_ */ |
