read_file -- read file and return contents as string
This procedure reads the file
and returns the contents as a string. If
is specified, then the last character of the file is discarded if it is a newline. The second form specifies exactly how many bytes will be read and returned, unless there are fewer than
bytes left in the file; in this case, all the remaining bytes are returned.
02 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005