X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fpipe-filter.h;h=4c156775e1eeba9f756d61b5161daeafe50169bb;hb=1276a2c5f24c0c932426aca9c899fa524d2443f2;hp=1bea48fc9fc096494ea36f2fb72b9cf85587e296;hpb=1602f0afed21be664fcf5c42d59db07cc22c56d6;p=gnulib.git diff --git a/lib/pipe-filter.h b/lib/pipe-filter.h index 1bea48fc9..4c156775e 100644 --- a/lib/pipe-filter.h +++ b/lib/pipe-filter.h @@ -1,5 +1,5 @@ /* Filtering of data through a subprocess. - Copyright (C) 2009-2012 Free Software Foundation, Inc. + Copyright (C) 2009-2014 Free Software Foundation, Inc. Written by Bruno Haible , 2009, and Paolo Bonzini , 2009. @@ -119,7 +119,7 @@ typedef void (*done_read_fn) (void *data_read, size_t num_bytes_read, true, otherwise return 127. Callback arguments are as described above. - Data is alternatingly written to the subprocess, through the functions + Data is alternately written to the subprocess, through the functions prepare_write and done_write, and read from the subprocess, through the functions prepare_read and done_read. @@ -167,7 +167,7 @@ struct pipe_filter_gi; true, otherwise return NULL and set errno. The caller will write to the subprocess through pipe_filter_gi_write - and finally call pipe_filter_gi_write. During such calls, the + and finally call pipe_filter_gi_close. During such calls, the prepare_read and done_read function may be called to process any data that the subprocess has written.