diff options
author | Matthew Ahrens <matt@delphix.com> | 2011-10-18 12:21:34 -0700 |
---|---|---|
committer | Matthew Ahrens <matt@delphix.com> | 2011-10-18 12:21:34 -0700 |
commit | 462453d2d0c563559a4caf186db76954e563bd1a (patch) | |
tree | 7126716a3df77fcb2410e7b4020c94d918e7683f /usr/src/head/spawn.h | |
parent | 9729663dccf3af95363464bd23939c153a918fd9 (diff) | |
download | illumos-gate-462453d2d0c563559a4caf186db76954e563bd1a.tar.gz |
1633 implement posix_spawn_pipe_np()
Reviewed by: Adam Leventhal <Adam.Leventhal@delphix.com>
Reviewed by: Eric Schrock <Eric.Schrock@delphix.com>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Approved by: Eric Schrock <Eric.Schrock@delphix.com>
Diffstat (limited to 'usr/src/head/spawn.h')
-rw-r--r-- | usr/src/head/spawn.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/usr/src/head/spawn.h b/usr/src/head/spawn.h index 865e9b30a1..a577c92009 100644 --- a/usr/src/head/spawn.h +++ b/usr/src/head/spawn.h @@ -24,6 +24,10 @@ * Use is subject to license terms. */ +/* + * Copyright (c) 2011 by Delphix. All rights reserved. + */ + #ifndef _SPAWN_H #define _SPAWN_H @@ -154,6 +158,14 @@ extern int posix_spawnattr_getsigdefault( */ #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) +extern int posix_spawn_pipe_np( + pid_t *_RESTRICT_KYWD pidp, + int *_RESTRICT_KYWD fdp, + const char *_RESTRICT_KYWD cmd, + boolean_t write, + posix_spawn_file_actions_t *_RESTRICT_KYWD fact, + posix_spawnattr_t *_RESTRICT_KYWD attr); + extern int posix_spawn_file_actions_addclosefrom_np( posix_spawn_file_actions_t *file_actions, int lowfiledes); @@ -198,6 +210,7 @@ extern int posix_spawnattr_getschedpolicy(); extern int posix_spawnattr_setsigdefault(); extern int posix_spawnattr_getsigdefault(); #if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) +extern int posix_spawn_pipe_np(); extern int posix_spawn_file_actions_addclosefrom_np(); extern int posix_spawnattr_setsigignore_np(); extern int posix_spawnattr_getsigignore_np(); |