diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-29 20:37:39 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-07-14 19:00:14 -0400 |
| commit | d37dd9b60487357cf831720383e335ee9baf5f25 (patch) | |
| tree | fed5d723723c79d7803f1303a2ecb223b0482467 /fs/bcachefs/thread_with_file.h | |
| parent | 0c97c437e362fb825b7501bd5da801bac77981b4 (diff) | |
bcachefs: bch2_stdio_redirect_readline_timeout()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/thread_with_file.h')
| -rw-r--r-- | fs/bcachefs/thread_with_file.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/thread_with_file.h b/fs/bcachefs/thread_with_file.h index e415dc2e2fb1..72497b921911 100644 --- a/fs/bcachefs/thread_with_file.h +++ b/fs/bcachefs/thread_with_file.h @@ -72,6 +72,7 @@ int bch2_run_thread_with_stdout(struct thread_with_stdio *, const struct thread_with_stdio_ops *); int bch2_stdio_redirect_read(struct stdio_redirect *, char *, size_t); +int bch2_stdio_redirect_readline_timeout(struct stdio_redirect *, darray_char *, unsigned long); int bch2_stdio_redirect_readline(struct stdio_redirect *, darray_char *); __printf(3, 0) ssize_t bch2_stdio_redirect_vprintf(struct stdio_redirect *, bool, const char *, va_list); |
