From 080d8ed7dd29ba537ce4cca286ed3369aca61ef5 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Sun, 25 Jan 2026 19:40:48 +0200 Subject: libc: add posix_spawnattr_{get,set}procdescp_np Reviewed by: asomers Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D54879 --- include/spawn.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/spawn.h') diff --git a/include/spawn.h b/include/spawn.h index a8f40e49dce0..636b20755238 100644 --- a/include/spawn.h +++ b/include/spawn.h @@ -126,8 +126,12 @@ int posix_spawnattr_setsigmask(posix_spawnattr_t * __restrict, #if __BSD_VISIBLE int posix_spawnattr_setexecfd_np(posix_spawnattr_t * __restrict, int); +int posix_spawnattr_setprocdescp_np(const posix_spawnattr_t * __restrict, + int * __restrict, int); int posix_spawnattr_getexecfd_np(const posix_spawnattr_t * __restrict, int * __restrict); +int posix_spawnattr_getprocdescp_np(const posix_spawnattr_t * __restrict, + int ** __restrict, int * __restrict); #endif __END_DECLS -- cgit v1.3