/[gcl]/gcl/info/io.texi
ViewVC logotype

Diff of /gcl/info/io.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by wfs, Tue Jun 27 14:31:44 2000 UTC revision 1.3 by camm, Sun Feb 3 18:44:07 2002 UTC
# Line 18  The current readtable. Line 18  The current readtable.
18    
19  @end defvar  @end defvar
20    
21  @defun LOAD (filename  @defun LOAD (filename &key (verbose *load-verbose*) (print nil) (if-does-not-exist :error))
        &key (verbose *load-verbose*) (print nil) (if-does-not-exist :error))  
22  Package:LISP  Package:LISP
23    
24  Loads the file named by FILENAME into GCL.  Loads the file named by FILENAME into GCL.
# Line 27  Loads the file named by FILENAME into GC Line 26  Loads the file named by FILENAME into GC
26    
27  @end defun  @end defun
28    
29  @defun OPEN (filename &key (direction :input) (element-type 'string-char)  @defun OPEN (filename &key (direction :input) (element-type 'string-char) (if-exists :error) (if-does-not-exist :error))
                      (if-exists :error) (if-does-not-exist :error))  
30  Package:LISP  Package:LISP
31    
32  Opens the file specified by FILENAME, which may be a string, a pathname,  Opens the file specified by FILENAME, which may be a string, a pathname,
# Line 95  Must be one of SHORT-FLOAT, SINGLE-FLOAT Line 93  Must be one of SHORT-FLOAT, SINGLE-FLOAT
93    
94  @end defvar  @end defvar
95    
96  @defun READ-PRESERVING-WHITESPACE (&optional (stream *standard-input*) (eof-error-p t) (eof-value nil)  @defun READ-PRESERVING-WHITESPACE (&optional (stream *standard-input*) (eof-error-p t) (eof-value nil) (recursive-p nil))
                  (recursive-p nil))  
97  Package:LISP  Package:LISP
98    
99  Reads an object from STREAM, preserving the whitespace that followed the  Reads an object from STREAM, preserving the whitespace that followed the
# Line 164  representation.  Returns OBJECT.  Equiva Line 161  representation.  Returns OBJECT.  Equiva
161    
162  @end defun  @end defun
163    
164  @defun SET-MACRO-CHARACTER (char function  @defun SET-MACRO-CHARACTER (char function &optional (non-terminating-p nil) (readtable *readtable*))
        &optional (non-terminating-p nil) (readtable *readtable*))  
165  Package:LISP  Package:LISP
166    
167  Causes CHAR to be a macro character that, when seen by READ, causes FUNCTION  Causes CHAR to be a macro character that, when seen by READ, causes FUNCTION
# Line 291  bindings and assignments all at once, ju Line 287  bindings and assignments all at once, ju
287    
288  @end deffn  @end deffn
289    
290  @defun READ-FROM-STRING (string &optional (eof-error-p t) (eof-value nil)  @defun READ-FROM-STRING (string &optional (eof-error-p t) (eof-value nil) &key (start 0) (end (length string)) (preserve-whitespace nil))
               &key (start 0) (end (length string)) (preserve-whitespace nil))  
291  Package:LISP  Package:LISP
292    
293  Reads an object from STRING.  Reads an object from STRING.
# Line 300  Reads an object from STRING. Line 295  Reads an object from STRING.
295    
296  @end defun  @end defun
297    
298  @defun WRITE-STRING (string &optional (stream *standard-output*)  @defun WRITE-STRING (string &optional (stream *standard-output*) &key (start 0) (end (length string)))
               &key (start 0) (end (length string)))  
299  Package:LISP  Package:LISP
300    
301  Outputs STRING and returns it.  Outputs STRING and returns it.
# Line 343  Returns an output stream which sends its Line 337  Returns an output stream which sends its
337    
338  @end defun  @end defun
339    
340  @defun READ-CHAR (&optional (stream *standard-input*) (eof-error-p t)  @defun READ-CHAR (&optional (stream *standard-input*) (eof-error-p t) (eof-value nil) (recursive-p nil))
                  (eof-value nil) (recursive-p nil))  
341  Package:LISP  Package:LISP
342    
343  Reads a character from STREAM.  Reads a character from STREAM.
# Line 352  Reads a character from STREAM. Line 345  Reads a character from STREAM.
345    
346  @end defun  @end defun
347    
348  @defun PEEK-CHAR (&optional (peek-type nil) (stream *standard-input*) (eof-error-p t)  @defun PEEK-CHAR (&optional (peek-type nil) (stream *standard-input*) (eof-error-p t) (eof-value nil) (recursive-p nil))
                  (eof-value nil) (recursive-p nil))  
349  Package:LISP  Package:LISP
350    
351  Peeks at the next character in the input stream STREAM.  Peeks at the next character in the input stream STREAM.
# Line 438  mechanism in the underlying operating sy Line 430  mechanism in the underlying operating sy
430    
431  @end defun  @end defun
432    
433  @defun MAKE-PATHNAME (&key (defaults (parse-namestring ""  @defun MAKE-PATHNAME (&key (defaults (parse-namestring "" (pathname-host *default-pathname-defaults*))) (host (pathname-host defaults)) (device (pathname-device defaults)) (directory (pathname-directory defaults)) (name (pathname-name defaults)) (type (pathname-type defaults)) (version (pathname-version defaults)))
                         (pathname-host *default-pathname-defaults*)))  
             (host (pathname-host defaults))  
             (device (pathname-device defaults))  
             (directory (pathname-directory defaults))  
             (name (pathname-name defaults))  
             (type (pathname-type defaults))  
             (version (pathname-version defaults)))  
434  Package:LISP  Package:LISP
435    
436  Create a pathname from HOST, DEVICE, DIRECTORY, NAME, TYPE and VERSION.  Create a pathname from HOST, DEVICE, DIRECTORY, NAME, TYPE and VERSION.
# Line 469  with "#:". Line 454  with "#:".
454    
455  @end defvar  @end defvar
456    
457  @defun READ-LINE (&optional (stream *standard-input*) (eof-error-p t)  @defun READ-LINE (&optional (stream *standard-input*) (eof-error-p t) (eof-value nil) (recursive-p nil))
                  (eof-value nil) (recursive-p nil))  
458  Package:LISP  Package:LISP
459    
460  Returns a line of text read from STREAM as a string, discarding the newline  Returns a line of text read from STREAM as a string, discarding the newline
# Line 521  Input file name: /tmp/myfile Line 505  Input file name: /tmp/myfile
505    
506  @end defun  @end defun
507    
508  @defun WRITE-TO-STRING (object &key (escape *print-escape*) (radix *print-radix*)  @defun WRITE-TO-STRING (object &key (escape *print-escape*) (radix *print-radix*) (base *print-base*) (circle *print-circle*) (pretty *print-pretty*) (level *print-level*) (length *print-length*) (case *print-case*) (array *print-array*) (gensym *print-gensym*))
                    (base *print-base*) (circle *print-circle*)  
                    (pretty *print-pretty*) (level *print-level*)  
                    (length *print-length*) (case *print-case*)  
                    (array *print-array*) (gensym *print-gensym*))  
509  Package:LISP  Package:LISP
510    
511  Returns as a string the printed representation of OBJECT in the specified  Returns as a string the printed representation of OBJECT in the specified
# Line 550  Returns T if X is a readtable object; NI Line 530  Returns T if X is a readtable object; NI
530    
531  @end defun  @end defun
532    
533  @defun READ (&optional (stream *standard-input*) (eof-error-p t) (eof-value nil)  @defun READ (&optional (stream *standard-input*) (eof-error-p t) (eof-value nil) (recursivep nil))
                  (recursivep nil))  
534  Package:LISP  Package:LISP
535    
536  Reads in the next object from STREAM.  Reads in the next object from STREAM.
# Line 591  object.  Unlimited if NIL. Line 570  object.  Unlimited if NIL.
570    
571  @end defvar  @end defvar
572    
573  @defun SET-SYNTAX-FROM-CHAR (to-char from-char  @defun SET-SYNTAX-FROM-CHAR (to-char from-char &optional (to-readtable *readtable*) (from-readtable nil))
        &optional (to-readtable *readtable*) (from-readtable nil))  
574  Package:LISP  Package:LISP
575    
576  Makes the syntax of TO-CHAR in TO-READTABLE be the same as the syntax of  Makes the syntax of TO-CHAR in TO-READTABLE be the same as the syntax of
# Line 706  Returns the device slot of PATHNAME. Line 684  Returns the device slot of PATHNAME.
684    
685  @end defun  @end defun
686    
687  @defun READ-CHAR-NO-HANG (&optional (stream *standard-input*) (eof-error-p t)  @defun READ-CHAR-NO-HANG (&optional (stream *standard-input*) (eof-error-p t) (eof-value nil) (recursive-p nil))
                  (eof-value nil) (recursive-p nil))  
688  Package:LISP  Package:LISP
689    
690  Returns the next character from STREAM if one is available; NIL otherwise.  Returns the next character from STREAM if one is available; NIL otherwise.
# Line 732  Outputs CHAR and returns it. Line 709  Outputs CHAR and returns it.
709    
710  @end defun  @end defun
711    
712  @defun PARSE-NAMESTRING (thing &optional host (defaults *default-pathname-defaults*)  @defun PARSE-NAMESTRING (thing &optional host (defaults *default-pathname-defaults*) &key (start 0) (end (length thing)) (junk-allowed nil))
              &key (start 0) (end (length thing)) (junk-allowed nil))  
713  Package:LISP  Package:LISP
714    
715  Parses a string representation of a pathname into a pathname.  HOST  Parses a string representation of a pathname into a pathname.  HOST
# Line 894  Equivalent to (WRITE-TO-STRING OBJECT :E Line 870  Equivalent to (WRITE-TO-STRING OBJECT :E
870    
871  @end defun  @end defun
872    
873  @defun MERGE-PATHNAMES (pathname  @defun MERGE-PATHNAMES (pathname &optional (defaults *default-pathname-defaults*) default-version)
        &optional (defaults *default-pathname-defaults*) default-version)  
874  Package:LISP  Package:LISP
875    
876  Fills in unspecified slots of PATHNAME from DEFAULTS.  DEFAULT-VERSION  Fills in unspecified slots of PATHNAME from DEFAULTS.  DEFAULT-VERSION
# Line 946  Returns the version slot of PATHNAME. Line 921  Returns the version slot of PATHNAME.
921    
922  @end defun  @end defun
923    
924  @defun WRITE-LINE (string &optional (stream *standard-output*)  @defun WRITE-LINE (string &optional (stream *standard-output*) &key (start 0) (end (length string)))
               &key (start 0) (end (length string)))  
925  Package:LISP  Package:LISP
926    
927  Outputs STRING and then outputs a newline character.  Returns STRING.  Outputs STRING and then outputs a newline character.  Returns STRING.
# Line 955  Outputs STRING and then outputs a newlin Line 929  Outputs STRING and then outputs a newlin
929    
930  @end defun  @end defun
931    
932  @defun WRITE (object &key (stream *standard-output*) (escape *print-escape*)  @defun WRITE (object &key (stream *standard-output*) (escape *print-escape*) (radix *print-radix*) (base *print-base*) (circle *print-circle*) (pretty *print-pretty*) (level *print-level*) (length *print-length*) (case *print-case*) (array *print-array*) (gensym *print-gensym*))
                    (radix *print-radix*) (base *print-base*)  
                    (circle *print-circle*) (pretty *print-pretty*)  
                    (level *print-level*) (length *print-length*)  
                    (case *print-case*) (array *print-array*)  
                    (gensym *print-gensym*))  
933  Package:LISP  Package:LISP
934    
935  Prints OBJECT in the specified mode.  See the variable docs of *PRINT-...*  Prints OBJECT in the specified mode.  See the variable docs of *PRINT-...*

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26