diff options
author | axel <axel@liljencrantz.se> | 2005-10-03 23:24:46 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-10-03 23:24:46 +1000 |
commit | 96f0cd9946072540a01fc3ec636f7ffbf08f44df (patch) | |
tree | 64644a3a0e02986a93e01319435b72d6edfb88dc /exec.h | |
parent | 101205900b105169c06d9a083304c01f5013d6f4 (diff) |
Code cleanup and a few source code comments
darcs-hash:20051003132446-ac50b-53f8231b18fced8371781ad41c9485983e1c5cdc.gz
Diffstat (limited to 'exec.h')
-rw-r--r-- | exec.h | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -49,8 +49,17 @@ void exec( job_t *j ); int exec_subshell( const wchar_t *cmd, array_list_t *l ); +/** + Free all resources used by a IO_BUFFER type io redirection. +*/ void exec_free_io_buffer( io_data_t *io_buffer ); -io_data_t *exec_make_io_buffer(); -void exec_read_io_buffer( io_data_t *d ); +/** + Create a IO_BUFFER type io redirection. +*/ +io_data_t *exec_make_io_buffer(); +/** + Close writing end of IO_BUFFER type io redirection, and fully read the reading end. +*/ +void exec_read_io_buffer( io_data_t *d ); |