1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-23 20:05:32 +02:00

Add port-line-buffered?

* libguile/ports.c (scm_port_line_buffered_p): New function.
* module/ice-9/ports.scm: Plump port-line-buffered? and
  port-auxiliary-write-buffer through to the internals module
This commit is contained in:
Andy Wingo 2016-05-25 21:48:56 +02:00
parent 2f836e2384
commit 1123002a9e
2 changed files with 15 additions and 0 deletions

View file

@ -164,6 +164,8 @@ interpret its input and output."
#:use-module (ice-9 ports)
#:export (port-read-buffer
port-write-buffer
port-auxiliary-write-buffer
port-line-buffered?
expand-port-read-buffer!
port-buffer-bytevector
port-buffer-cur
@ -219,6 +221,8 @@ interpret its input and output."
(private-port-bindings port-read-buffer
port-write-buffer
port-auxiliary-write-buffer
port-line-buffered?
expand-port-read-buffer!
port-read
port-write