summaryrefslogtreecommitdiff
path: root/libguile/ioext.h
diff options
context:
space:
mode:
authorGary Houston <ghouston@arglist.com>1997-08-16 18:48:44 +0000
committerGary Houston <ghouston@arglist.com>1997-08-16 18:48:44 +0000
commit6afcd3b2b6b46ccbfd5f84bfd9dedb458dea894f (patch)
treec04f61db122ef10184ac0f9e97195d941d1c5aba /libguile/ioext.h
parentdb75135d74e48a19aa91083dc50b15a06a1bcda0 (diff)
downloadguile-6afcd3b2b6b46ccbfd5f84bfd9dedb458dea894f.tar.gz
* stime.h: prototype for scm_times.
* stime.c (scm_times): new procedure. * ioext.c (scm_fseek): if the first argument is a file descriptor call lseek. (scm_ftell): if the first argument is a file descriptor call lseek (sic). * filesys.h: prototypes for scm_open_fdes, scm_fsync. * filesys.c (scm_chmod): if the first argument is a file descriptor, call fchmod. (scm_chown): if the first argument is a port or file descriptor, call fchown. (scm_truncate_file): new procedure. Add DEFER/ALLOW INTS to a few other procedures. (scm_fsync): new procedure. (scm_open_fdes): new procedure. (scm_open): use scm_open_fdes. If mode isn't specified, 666 will now be used. (scm_fcntl): the first argument can now be a file descriptor. The third argument is now optional. * posix.c (scm_execl, scm_execlp): make the filename argument compulsory, since omitting it causes SEGV. (scm_sync): return unspecified instead of #f. (scm_execle): new procedure. (environ_list_to_c): new procedure. (scm_environ): use environ_list_to_c. disable interrupts. (scm_convert_exec_args): take pos and subr arguments and improve error checking. * boot-9.scm: define tms accessors: clock, utime, stime, cutime, cstime.
Diffstat (limited to 'libguile/ioext.h')
-rw-r--r--libguile/ioext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/ioext.h b/libguile/ioext.h
index ef9f8d1da..803dc3294 100644
--- a/libguile/ioext.h
+++ b/libguile/ioext.h
@@ -50,8 +50,8 @@
extern SCM scm_read_delimited_x SCM_P ((SCM delims, SCM buf, SCM gobble, SCM port, SCM offset, SCM length));
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_ftell SCM_P ((SCM object));
+extern SCM scm_fseek SCM_P ((SCM object, SCM offset, SCM whence));
extern SCM scm_freopen SCM_P ((SCM filename, SCM modes, SCM port));
extern SCM scm_redirect_port SCM_P ((SCM into_pt, SCM from_pt));
extern SCM scm_dup_to_fdes (SCM fd_or_port, SCM newfd);