diff options
Diffstat (limited to 'gr-blocks/include/gnuradio/blocks/file_sink.h')
-rw-r--r-- | gr-blocks/include/gnuradio/blocks/file_sink.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gr-blocks/include/gnuradio/blocks/file_sink.h b/gr-blocks/include/gnuradio/blocks/file_sink.h index c1041683d3..177964682d 100644 --- a/gr-blocks/include/gnuradio/blocks/file_sink.h +++ b/gr-blocks/include/gnuradio/blocks/file_sink.h @@ -45,8 +45,10 @@ namespace gr { * \brief Make a file sink. * \param itemsize size of the input data items. * \param filename name of the file to open and write output to. + * \param append if true, data is appended to the file instead of + * overwriting the initial content. */ - static sptr make(size_t itemsize, const char *filename); + static sptr make(size_t itemsize, const char *filename, bool append=false); }; } /* namespace blocks */ |