Code cleanup and a few source code comments

darcs-hash:20051003132446-ac50b-53f8231b18fced8371781ad41c9485983e1c5cdc.gz
This commit is contained in:
axel
2005-10-03 23:24:46 +10:00
parent 101205900b
commit 96f0cd9946
4 changed files with 55 additions and 20 deletions

13
exec.h
View File

@@ -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 );
/**
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 );