|
@@ -61,11 +61,13 @@ pub struct FILE {
|
|
lock: Mutex<()>,
|
|
lock: Mutex<()>,
|
|
|
|
|
|
file: File,
|
|
file: File,
|
|
|
|
+ // pub for stdio_ext
|
|
pub(crate) flags: c_int,
|
|
pub(crate) flags: c_int,
|
|
read_buf: Buffer<'static>,
|
|
read_buf: Buffer<'static>,
|
|
read_pos: usize,
|
|
read_pos: usize,
|
|
read_size: usize,
|
|
read_size: usize,
|
|
unget: Option<u8>,
|
|
unget: Option<u8>,
|
|
|
|
+ // pub for stdio_ext
|
|
pub(crate) writer: LineWriter<File>,
|
|
pub(crate) writer: LineWriter<File>,
|
|
|
|
|
|
// Optional pid for use with popen/pclose
|
|
// Optional pid for use with popen/pclose
|