summaryrefslogtreecommitdiff
path: root/libguile/posix.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/posix.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/posix.h')
-rw-r--r--libguile/posix.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libguile/posix.h b/libguile/posix.h
index 72d1adb65..f7812d75f 100644
--- a/libguile/posix.h
+++ b/libguile/posix.h
@@ -78,8 +78,9 @@ extern SCM scm_setgid SCM_P ((SCM id));
extern SCM scm_seteuid SCM_P ((SCM id));
extern SCM scm_setegid SCM_P ((SCM id));
extern SCM scm_ttyname SCM_P ((SCM port));
-extern SCM scm_execl SCM_P ((SCM args));
-extern SCM scm_execlp SCM_P ((SCM args));
+extern SCM scm_execl SCM_P ((SCM filename, SCM args));
+extern SCM scm_execlp SCM_P ((SCM filename, SCM args));
+extern SCM scm_execle SCM_P ((SCM filename, SCM env, SCM args));
extern SCM scm_fork SCM_P ((void));
extern SCM scm_uname SCM_P ((void));
extern SCM scm_environ SCM_P ((SCM env));