io_data Struct Reference

Represents an FD redirection. More...

#include <io.h>

Collaboration diagram for io_data:
[legend]

Data Fields

int io_mode
 Type of redirect.
int fd
 FD to redirect.
union {
   int   pipe_fd [2]
 Fds for IO_PIPE and for IO_BUFFER.
   wchar_t *   filename
 Filename IO_FILE.
   int   old_fd
 fd to redirect specified fd to, for IO_FD
param1
 Type-specific parameter for redirection.
union {
   int   flags
 file creation flags to send to open for IO_FILE
   buffer_t *   out_buffer
 buffer to save output in for IO_BUFFER
   int   close_old
 Whether to close old_fd for IO_FD.
param2
 Second type-specific paramter for redirection.
int is_input
 Set to true if this is an input io redirection.
struct io_datanext
 Pointer to the next IO redirection.

Detailed Description

Represents an FD redirection.
The documentation for this struct was generated from the following file:

Generated on Sun Mar 8 15:46:56 2009 for fish by  doxygen 1.5.6