| parrotcode: Portable I/O utility functions | |
| Contents | C |

src/io/portable.c - Portable I/O utility functions

This file implements generic, portable I/O functionality using C's STDIO. This function set is the default fallback for all platforms. It must compile on any system with the ANSI C standard library. Also note that unlike the other low-level I/O utility function sets (UNIX, Win32), this is buffered I/O, out of necessity.

static const char *convert_flags_to_stdioflags suitable for passing to fopen() in Parrot_io_open_portable().INTVAL Parrot_io_init_portablePMC *Parrot_io_open_portablePMC *Parrot_io_fdopen_portableINTVAL Parrot_io_close_portableINTVAL Parrot_io_is_closed_portablestatic INTVAL io_is_tty_portablesize_t Parrot_io_peek_portableINTVAL Parrot_io_getblksize_portableINTVAL Parrot_io_flush_portablesize_t Parrot_io_read_portablesize_t Parrot_io_write_portablePIOOFF_T Parrot_io_seek_portablePIOOFF_T Parrot_io_tell_portablePMC *Parrot_io_open_pipe_portable
src/io/unix.c, src/io/win32.c, src/io/io.c, src/io/io_private.h, include/parrot/io_portable.h.
|
|
|