Node:Close All Ports, Next:, Previous:Strange Eval, Up:Deprecated



36.4 Closing All Ports Except Some ...

close-all-ports-except . ports Deprecated Scheme Procedure
scm_close_all_ports_except (ports) Deprecated C Function
[DEPRECATED] Close all open file ports used by the interpreter except for those supplied as arguments. This procedure was intended to be used before an exec call to close file descriptors which are not needed in the new process. However it has the undesirable side effect of flushing buffers, so it's deprecated. Use port-for-each instead.