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_stdio
flags
suitable for passing to fopen()
in Parrot_io_open_portable()
.
INTVAL Parrot_io_init_portable
PMC *Parrot_io_open_portable
PMC *Parrot_io_fdopen_portable
INTVAL Parrot_io_close_portable
INTVAL Parrot_io_is_closed_portable
static INTVAL io_is_tty_portable
size_t Parrot_io_peek_portable
INTVAL Parrot_io_getblksize_portable
INTVAL Parrot_io_flush_portable
size_t Parrot_io_read_portable
size_t Parrot_io_write_portable
PIOOFF_T Parrot_io_seek_portable
PIOOFF_T Parrot_io_tell_portable
PMC *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.
|