NAME putlin - output a line onto a given file SYNOPSIS call putlin (line, fd) character line(ARB) filedes fd DESCRIPTION Putlin writes the characters in "line" to the file opened on file descriptor "fd". If a NEWLINE character is located, appropriate action is taken to indicate the end-of-record in whatever format is necessary for the local operating system. If no NEWLINE character is specified, no carriage return (or end-of-record) is assumed. This probably means that the output buffer will not be flushed. Any necessary character translation is done if the output file is not of ascii type. IMPLEMENTATION Putlin should write the line onto the file and, if a NEWLINE is encountered, do whatever is necessary to indicate to the local operating system that a record has been generated. If the output file is to contain characters in a representation other than ascii, the characters are mapped (via outmap) into their proper representation. Putlin and putch are compatible; that is, interspersed calls to putlin and putch are allowed and work properly. A common implementation is to have putlin call putch until an EOS marker is found. SEE ALSO putch, prompt, remark, getch, getlin DIAGNOSTICS None