diff options
author | Gary Houston <ghouston@arglist.com> | 2000-11-09 22:41:58 +0000 |
---|---|---|
committer | Gary Houston <ghouston@arglist.com> | 2000-11-09 22:41:58 +0000 |
commit | 34b56ec407e35275d67045615285c480e141ba4d (patch) | |
tree | 6594489bf4b96e43a7c8c81aa43345fa7a8331b0 | |
parent | 34526073e85b0b4ab89c95f45e55286960a1b11e (diff) | |
download | guile-34b56ec407e35275d67045615285c480e141ba4d.tar.gz |
*** empty log message ***
-rw-r--r-- | NEWS | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -174,6 +174,36 @@ Instead, use scm_memq, scm_memv, scm_member. Returns a boolean indicating whether X is a port. Equivalent to `(or (input-port? X) (output-port? X))'. +** New function: port-for-each proc + +Apply PROC to each port in the Guile port table in turn. The +return value is unspecified. + +** New function: dup2 oldfd newfd + +A simple wrapper for the `dup2' system call. Copies the file +descriptor OLDFD to descriptor number NEWFD, replacing the +previous meaning of NEWFD. Both OLDFD and NEWFD must be integers. +Unlike for dup->fdes or primitive-move->fdes, no attempt is made +to move away ports which are using NEWFD\n". The return value is +unspecified. + +** New function: close-fdes fd + +A simple wrapper for the `close' system call. Close file +descriptor FD, which must be an integer. Unlike close (*note +close: Ports and File Descriptors.), the file descriptor will be +closed even if a port is using it. The return value is +unspecified. + +** Deprecated: close-all-ports-except. This was intended for closing +ports in a child process after a fork, but it has the undesirable side +effect of flushing buffers. port-for-each is more flexible. + +** The (ice-9 popen) module now attempts to set up file descriptors in +the child process from the current Scheme ports, instead of using the +current values of file descriptors 0, 1, and 2 in the parent process. + * Changes to the gh_ interface * Changes to the scm_ interface |