GNU Info

Info Node: (librep.info)Input Functions

(librep.info)Input Functions


Next: Output Functions Prev: Output Streams Up: Streams
Enter node , (file) or (file)node

Input Functions
---------------

 - Function: read-char stream
     Read and return the next character from the input stream STREAM. If
     the end of the stream is reached false is returned.

 - Function: read-line stream
     This function reads one line of text from the input stream STREAM,
     a string containing the line (including the newline character
     which terminates the line).

     If the end of stream is reached before any characters can be read
     false is returned, if the end of stream is reached but some
     characters have been read (but not the newline) these characters
     are made into a string and returned.

     Note that unlike the Common Lisp function of the same name, the
     newline character is not removed from the returned string.

 - Function: read stream
     This function is the function which encapsulates the Lisp reader
     (Note: The Lisp Reader). It reads as many characters from the
     input stream STREAM as required to form the read syntax of a single
     Lisp object (Note: Read Syntax), this object is then returned.

 - Function: read-from-string string #!optional start
     Reads one Lisp object from the string STRING, the first character
     is read from position START (or position zero).

          (read-from-string STRING START)
          ==
          (read (make-string-input-stream STRING START))


automatically generated by info2www version 1.2.2.9