From 948c7f42040b33decb13c5c122b75a901eea7117 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 7 Nov 2021 14:34:30 +0000 Subject: Commit the userland portion of the posix_spawn_chdir project by Piyush Sachdeva --- include/spawn.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/spawn.h b/include/spawn.h index 19cdc37d1ab..32cdd85ca27 100644 --- a/include/spawn.h +++ b/include/spawn.h @@ -1,4 +1,4 @@ -/* $NetBSD: spawn.h,v 1.4 2012/02/22 17:51:01 martin Exp $ */ +/* $NetBSD: spawn.h,v 1.5 2021/11/07 14:34:30 christos Exp $ */ /*- * Copyright (c) 2008 Ed Schouten @@ -56,6 +56,10 @@ int posix_spawn_file_actions_addopen(posix_spawn_file_actions_t * __restrict, int posix_spawn_file_actions_adddup2(posix_spawn_file_actions_t *, int, int); int posix_spawn_file_actions_addclose(posix_spawn_file_actions_t *, int); +int posix_spawn_file_actions_addchdir(posix_spawn_file_actions_t * __restrict, + const char * __restrict); +int posix_spawn_file_actions_addfchdir(posix_spawn_file_actions_t *, int); + /* * Spawn attributes */ -- cgit