I/O Ports in Guile (Debugging with GDB)

From Get docs
Gdb/docs/latest/gdb/I 002fO-Ports-in-Guile


23.4.3.23 I/O Ports in Guile

Scheme Procedure
input-port
Return GDB’s input port as a Guile port object.
Scheme Procedure
output-port
Return GDB’s output port as a Guile port object.
Scheme Procedure
error-port
Return GDB’s error port as a Guile port object.
Scheme Procedure
stdio-port? object
Return #t if object is a GDB stdio port. Otherwise return #f.