|
coan 4.2.4
|
#include <stdio.h>

Go to the source code of this file.
Defines | |
| #define | STDIN_NAME "[stdin]" |
| #define | LINE_START GET_PUBLIC(io,line_start) |
| #define | LINE_END (GET_PUBLIC(io,line_start) + GET_PUBLIC(io,line_len)) |
| #define | LINE_OFF(addr) (addr - LINE_START) |
| #define | INSOURCE (GET_PUBLIC(io,line_num) != 0) |
Functions | |
| char * | read_filename (void) |
| FILE * | open_file (const char *file, const char *mode) |
| void | open_io (char const *filename) |
| void | close_io (int error) |
| void | close_input (void) |
| bool | get_line (void) |
| char * | read_more (char const *readpos) |
| bool | input_opened (void) |
| void | ensure_buf (size_t extra) |
| void | save_read_pos (char const *cp) |
| char * | saved_read_pos (void) |
| void | io_toplevel (void) |
| size_t | read_offset (char const *readpos) |
| char * | read_pos (size_t readoff) |
| PUBLIC_STATE_DEF (io) | |
| PUBLIC_STATE_T (io) | |
| IMPORT (io) | |
This file provides the I/O component interface
Definition in file io.h.