Allows to perform the same operation like axl_stream_get_untilv but providing an already initialized and opened std arg.
This function is in fact, used by axl_stream_get_untilv.
- Parameters:
-
| stream | The stream where the operation will be peformed. |
| valid_chars | The valid chars set to be used while reading data. |
| chunk_matched | An optional value where the matched chunk will be reported. |
| accept_terminator | Configure if terminator read should be accepted or only the chunk read. |
| result_size | Allows to notify the caller with the chunk size that is being returned by the function. |
| chunk_num | How many terminators are configured. |
| args | The list of terminators. |
- Returns:
- The chunk read or NULL if fails.