]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - stdin.h
stdin: Abort if the consumer terminates.
[paraslash.git] / stdin.h
diff --git a/stdin.h b/stdin.h
index 63d00d5dfc167a5c29a52ba4946bba49926d1301..99233f9ffbbd79b62035371cfed88510e36cb914 100644 (file)
--- a/stdin.h
+++ b/stdin.h
@@ -14,6 +14,8 @@ struct stdin_task {
        size_t bufsize;
        /** Number of bytes currently loaded in \a buf. */
        size_t loaded;
+       /** Pointer to the error member of the consumer. */
+       int *output_error;
        /** Whether \p STDIN_FILENO was included in the read fd set. */
        int check_fd;
        /** The task structure. */