| parrotcode: STDIO layer | |
| Contents | C |

src/io/io_stdio.c - STDIO layer

This is the Parrot IO STDIO layer. This may provide a subset of full functionality, but must compile on any system with the ANSI C standard library. Also note that unlike the other low-level IO layers (UNIX, Win32), this is buffered IO, out of necessity.

static const char *flags_to_stdioflags suitable for passing to fopen() in PIO_stdio_open().static INTVAL PIO_stdio_initstatic ParrotIO *PIO_stdio_open<,
>,
etc.static ParrotIO *PIO_stdio_fdopenstatic INTVAL PIO_stdio_closestatic INTVAL PIO_stdio_isattystatic size_t PIO_stdio_peekINTVAL PIO_stdio_getblksizestatic INTVAL PIO_stdio_flushstatic size_t PIO_stdio_readstatic size_t PIO_stdio_writestatic PIOOFF_T PIO_stdio_seekstatic PIOOFF_T PIO_stdio_tell
src/io/io_buf.c, src/io/io_passdown.c, src/io/io_unix.c, src/io/io_win32.c, src/io/io.c, src/io/io_private.h.

Adapted from io_unix.c by Josh Wilmes (josh@hitchhiker.org).
|
|
|