* stime.h: prototype for scm_times.
authorGary Houston <ghouston@arglist.com>
Sat, 16 Aug 1997 18:48:44 +0000 (18:48 +0000)
committerGary Houston <ghouston@arglist.com>
Sat, 16 Aug 1997 18:48:44 +0000 (18:48 +0000)
commit6afcd3b2b6b46ccbfd5f84bfd9dedb458dea894f
treec04f61db122ef10184ac0f9e97195d941d1c5aba
parentdb75135d74e48a19aa91083dc50b15a06a1bcda0
* 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.
12 files changed:
NEWS
ice-9/ChangeLog
ice-9/boot-9.scm
libguile/ChangeLog
libguile/filesys.c
libguile/filesys.h
libguile/ioext.c
libguile/ioext.h
libguile/posix.c
libguile/posix.h
libguile/stime.c
libguile/stime.h