summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2021-11-07 14:34:30 +0000
committerchristos <christos@NetBSD.org>2021-11-07 14:34:30 +0000
commit948c7f42040b33decb13c5c122b75a901eea7117 (patch)
tree8791ba83e848876adb7f59f0f480f6655d57fe83 /include
parent83f332e125fb817333b7292c8325267e52509fc9 (diff)
Commit the userland portion of the posix_spawn_chdir project by Piyush Sachdeva
Diffstat (limited to 'include')
-rw-r--r--include/spawn.h6
1 files changed, 5 insertions, 1 deletions
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 <ed@FreeBSD.org>
@@ -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
*/