#| -*-Scheme-*-
-$Id: genio.scm,v 1.20 2004/01/11 07:17:57 cph Exp $
+$Id: genio.scm,v 1.21 2004/01/19 04:30:20 cph Exp $
Copyright 1991,1993,1995,1996,1999,2002 Massachusetts Institute of Technology
Copyright 2003,2004 Massachusetts Institute of Technology
(CHARS-REMAINING ,operation/chars-remaining)
(CLOSE-INPUT ,operation/close-input)
(DISCARD-CHAR ,operation/read-char)
- (DISCARD-CHARS ,operation/discard-chars)
(EOF? ,operation/eof?)
(INPUT-BLOCKING-MODE ,operation/input-blocking-mode)
(INPUT-BUFFER-SIZE ,operation/input-buffer-size)
(INPUT-TERMINAL-MODE ,operation/input-terminal-mode)
(PEEK-CHAR ,operation/peek-char)
(READ-CHAR ,operation/read-char)
- (READ-STRING ,operation/read-string)
(READ-SUBSTRING ,operation/read-substring)
(SET-INPUT-BLOCKING-MODE ,operation/set-input-blocking-mode)
(SET-INPUT-BUFFER-SIZE ,operation/set-input-buffer-size)
(define (operation/chars-remaining port)
(input-buffer/chars-remaining (port/input-buffer port)))
-(define (operation/discard-chars port delimiters)
- (input-buffer/discard-until-delimiter (port/input-buffer port) delimiters))
-
(define (operation/eof? port)
(input-buffer/eof? (port/input-buffer port)))
(define (operation/read-substring port string start end)
(input-buffer/read-substring (port/input-buffer port) string start end))
-(define (operation/read-string port delimiters)
- (input-buffer/read-until-delimiter (port/input-buffer port) delimiters))
-
(define (operation/input-buffer-size port)
(input-buffer/size (port/input-buffer port)))
#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.474 2004/01/16 19:43:52 cph Exp $
+$Id: runtime.pkg,v 14.475 2004/01/19 04:30:57 cph Exp $
Copyright 1988,1989,1990,1991,1992,1993 Massachusetts Institute of Technology
Copyright 1994,1995,1996,1997,1998,1999 Massachusetts Institute of Technology
input-buffer/char-ready?
input-buffer/chars-remaining
input-buffer/close
- input-buffer/discard-until-delimiter
input-buffer/eof?
input-buffer/open?
input-buffer/peek-char
input-buffer/read-char
input-buffer/read-substring
- input-buffer/read-until-delimiter
input-buffer/set-size
input-buffer/size
make-input-buffer