#include <dirent.h> /* readdir() */
#include <assert.h>
+#include <stdbool.h>
#include "para.h"
#include "list.h"
{
int ret;
+ sot->use_buffer_tree = false;
sot->task.pre_select = stdout_pre_select;
sot->task.post_select = stdout_post_select;
sprintf(sot->task.status, "stdout writer");
struct task task;
/** Whether \p STDOUT_FILENO was included in the write fd set. */
int check_fd;
+ /** Whether to use the buffer tree API. */
+ bool use_buffer_tree;
};
void stdout_set_defaults(struct stdout_task *sot);