8cccac2014-08-28Per Hedbor struct _IOBuffer { unsigned char *buffer; size_t offset; /* reading */ size_t len, allocated; /* writing */
317fc32014-09-02Per Hedbor  struct object *sub, *source, *this;
9629ad2014-09-01Per Hedbor  struct program *error_mode;
8923ca2014-09-03Per Hedbor  struct object *output;
8cccac2014-08-28Per Hedbor  struct pike_string *str; INT32 locked;
8923ca2014-09-03Per Hedbor  char malloced, output_triggered;
8cccac2014-08-28Per Hedbor }; typedef struct _IOBuffer IOBuffer; extern void init_stdio_buffer(void); extern void exit_stdio_buffer(void);