f33f4868fe
see http://austingroupbugs.net/view.php?id=1208 and https://sourceware.org/bugzilla/show_bug.cgi?id=17405 * also free paths in posix_spawn_file_actions_destroy(). Change-Id: I8bed848154025bd5a25322bdc4c25aa417f86ec6 Reviewed-on: https://review.haiku-os.org/c/1010 Reviewed-by: Rene Gollent <rene@gollent.com>
34 lines
529 B
C
34 lines
529 B
C
/*
|
|
* Copyright 2019 Haiku, Inc. All Rights Reserved.
|
|
* Distributed under the terms of the Haiku License.
|
|
*/
|
|
#ifndef _GNU_SPAWN_H_
|
|
#define _GNU_SPAWN_H_
|
|
|
|
|
|
#include_next <spawn.h>
|
|
|
|
|
|
#ifdef _GNU_SOURCE
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern int posix_spawn_file_actions_addchdir_np(
|
|
posix_spawn_file_actions_t *file_actions, const char *path);
|
|
extern int posix_spawn_file_actions_addfchdir_np(
|
|
posix_spawn_file_actions_t *file_actions, int fildes);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif
|
|
|
|
|
|
#endif /* _GNU_SPAWN_H_ */
|
|
|