[Contents]
[Prev][more13.htm - MISSING] [Next] [Limbo Basics] [Limbo Programming] [Language Definition]

I/O

Input and output (I/O) functionality is an important aspect of virtually all Limbo programs.

Limbo I/O functions are provided through the Inferno Reference API. The Inferno Reference API is discussed in detail in the Inferno Reference Manual.

Basic Limbo I/O is contained in the System module (sys.m). These functions are like the basic unbuffered UNIX C functions. Most of the examples thus far have used the I/O functions in the Sys module.

Another module, the Buffered I/O module (bufio.m), provides buffered I/O fucntions that are like the ANSI C standard funtions.

Other modules in the Inferno Reference API provide more advanced and specialized input and output functions, such the Device Pointer module (devpointer.m), Infrared Remote Control module (ir.m), and Timed I\xda O module (timedio.m). Limbo programs can make use of any combination of the functions provided by these modules.



[Contents]
[Prev][more13.htm - MISSING] [Next] [Limbo Basics] [Limbo Programming] [Language Definition]

Copyright © 1998, Lucent Technologies, Inc. All rights reserved.