blob: cca12e5f61e2538d99c766f350ee4ef002bce801 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*
* Copyright (C) 2006-2009 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
/** \file stdout.h The standard out task structure. */
/**
* The task structure used for writing to stdout.
*/
struct stdout_task {
/** Pointer to the data buffer pointer. */
char **bufp;
/** Number of bytes loaded in \a buf. */
size_t *loaded;
/** Pointer to the error variable of the feeding task. */
int *input_error;
/** The task structure. */
struct task task;
/** Whether \p STDOUT_FILENO was included in the write fd set. */
int check_fd;
};
void stdout_set_defaults(struct stdout_task *sot);
|