diff options
author | Mike Gilbert <floppym@gentoo.org> | 2018-06-13 13:49:42 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2018-06-13 13:49:42 -0500 |
commit | ec8abea4605395a2a59b26906ce4677a578e3c60 (patch) | |
tree | fbdcccadc1ff16250dc80c39f34ebe979ccc2bf2 /src/rc/rc-pipes.h | |
parent | e4ddfa38e0e0318abf442b7aa07e0d8206191dd7 (diff) |
Add helper to spawn process with stdin connected to a pipe
Diffstat (limited to 'src/rc/rc-pipes.h')
-rw-r--r-- | src/rc/rc-pipes.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/rc/rc-pipes.h b/src/rc/rc-pipes.h new file mode 100644 index 00000000..0c605ced --- /dev/null +++ b/src/rc/rc-pipes.h @@ -0,0 +1,18 @@ +/* + * Copyright (c) 2018 The OpenRC Authors. + * See the Authors file at the top-level directory of this distribution and + * https://github.com/OpenRC/openrc/blob/master/AUTHORS + * + * This file is part of OpenRC. It is subject to the license terms in + * the LICENSE file found in the top-level directory of this + * distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE + * This file may not be copied, modified, propagated, or distributed + * except according to the terms contained in the LICENSE file. + */ + +#ifndef RC_PIPES_H +#define RC_PIPES_H + +int rc_pipe_command(char *cmd); + +#endif |