NAME ^

src/io/io_stdio.c - STDIO layer

DESCRIPTION ^

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.

Functions ^

flags_to_stdio

Returns a C string representation of flags suitable for passing to fopen() in PIO_stdio_open().

PIO_stdio_init

Setup standard streams, etc.

PIO_stdio_open

Open modes (read, write, append, etc.) are done in pseudo-Perl style using <, >, etc.

PIO_stdio_fdopen

TODO: Not yet documented!!!

PIO_stdio_close

TODO: Not yet documented!!!

PIO_stdio_isatty

TODO: Not yet documented!!!

PIO_stdio_peek

TODO: Not yet documented!!!

PIO_stdio_getblksize

TODO: Not yet documented!!!

PIO_stdio_flush

TODO: Not yet documented!!!

PIO_stdio_read

TODO: Not yet documented!!!

PIO_stdio_write

TODO: Not yet documented!!!

PIO_stdio_seek

TODO: Not yet documented!!!

PIO_stdio_tell

TODO: Not yet documented!!!

SEE ALSO ^

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.

HISTORY ^

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


parrot