Input/Output

Gamma: Version 4.0
Prev |  | Next

# IX. Input/Output

Table of Contents
`close` -- closes an open file.
`fd_close` -- closes a file identified by a file descriptor.
`fd_data_function` -- attaches a write-activated callback to a file.
`fd_eof_function` -- attaches an `eof`-activated callback to a file.
`fd_open` -- opens a file or device and assigns it a file descriptor.
`fd_read` -- reads a buffer or string from a file identified by a file descriptor.
`fd_to_file` -- creates a file pointer from a descriptor.
`fd_write` -- writes a buffer or string to a file identified by a file descriptor.
`fileno` -- creates a file descriptor from a pointer.
`ioctl` -- performs control functions on a file descriptor.
`open` -- attempts to open a file.
`pipe` -- creates a pipe.
`princ`, `print`, `pretty_princ`, `pretty_print` -- write to the standard output file.
`pty`, `ptytio` -- run programs in a pseudo-tty.
`read` -- reads a Lisp expression from a file.
`read_char`, `read_double`, `read_float`, `read_long`, `read_short` -- read the next character, double, float, long or short value in binary representation from the input file.
`read_eval_file` -- reads a file, evaluating and counting expressions.
`read_line` -- reads a single line of text.
`read_n_chars` -- reads and stores characters.
`read_until` -- reads characters, constructing a string as it goes.
`seek` -- sets the file position for reading or writing.
`ser_setup` -- sets parameters for a serial port device.
`tell` -- indicates file position.
`terpri` -- prints a newline to an open file.
`unread_char` -- attempts to replace a character to a file for subsequent reading.
`write`, `writec`, `pretty_write`, `pretty_writec` -- write an expression to a file.
`write_n_chars` -- writes characters from a buffer to a file.

Prev | Home | Next
`sqrt` | Up | `close`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.