summaryrefslogtreecommitdiff
path: root/libguile/ioext.h
diff options
context:
space:
mode:
authorGary Houston <ghouston@arglist.com>1997-07-21 08:52:26 +0000
committerGary Houston <ghouston@arglist.com>1997-07-21 08:52:26 +0000
commite38303a26d4da3cbc64a10d7fc31e65439d9970a (patch)
tree274add18966221e6a7c37f2c154be238eb2c2fff /libguile/ioext.h
parenta9488d121883c3db948833de03d34f59f2e8a0d3 (diff)
downloadguile-e38303a26d4da3cbc64a10d7fc31e65439d9970a.tar.gz
* ioext.h: removed scm_duplicate_port prototype.
* ioext.c (scm_primitive_dup2): return the new file descriptor instead of SCM_UNSPECIFIED, since similarity to scm_primitive_dup is convenient. (scm_fdopen): bug fix: don't try to make port unbuffered until its stream has been set. (scm_duplicate_port): deleted, there's now an implementation in boot-9.scm. (scm_primitive_dup2): do nothing if newfd == oldfd. * boot-9.scm (dup->port, dup->inport, dup->outport, dup->fdes, dup, fdes->inport, fdes->outport, port->fdes): new procedures. (duplicate-port): was a C primitive, now it's here. (move->fdes): allow the first argument to be a file descriptor. Return the modified port or file descriptor (was unspecified.)
Diffstat (limited to 'libguile/ioext.h')
-rw-r--r--libguile/ioext.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libguile/ioext.h b/libguile/ioext.h
index 5e8302427..ee5ed86cf 100644
--- a/libguile/ioext.h
+++ b/libguile/ioext.h
@@ -53,7 +53,6 @@ extern SCM scm_write_line SCM_P ((SCM obj, SCM port));
extern SCM scm_ftell SCM_P ((SCM port));
extern SCM scm_fseek SCM_P ((SCM port, SCM offset, SCM whence));
extern SCM scm_freopen SCM_P ((SCM filename, SCM modes, SCM port));
-extern SCM scm_duplicate_port SCM_P ((SCM oldpt, SCM modes));
extern SCM scm_redirect_port SCM_P ((SCM into_pt, SCM from_pt));
extern SCM scm_primitive_dup (SCM fd_or_port);
extern SCM scm_primitive_dup2 (SCM fd_or_port, SCM newfd);