www.delorie.com/gnu/docs/guile/guile_320.html   search  
 
Buy GNU books!


Guile Reference Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

27.9.4 Void Ports

This kind of port causes any data to be discarded when written to, and always returns the end-of-file object when read from.

Scheme Procedure: %make-void-port mode
C Function: scm_sys_make_void_port (mode)
Create and return a new void port. A void port acts like `/dev/null'. The mode argument specifies the input/output modes for this port: see the documentation for open-file in 27.9.1 File Ports.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003