summaryrefslogtreecommitdiff
path: root/libguile/posix.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2016-08-31 10:42:21 +0200
committerAndy Wingo <wingo@pobox.com>2016-08-31 10:42:21 +0200
commitad4fe88ffb9193e7b5da8350d71334be525eed84 (patch)
treea5ce6555689a778373b2ec03b6bb595538c9cbf0 /libguile/posix.h
parent2fa2e50a0fdb49e70d6882e06d1a2dcc2ae10a69 (diff)
downloadguile-ad4fe88ffb9193e7b5da8350d71334be525eed84.tar.gz
Move system* to posix.c, impl on open-process
* libguile/simpos.c: Trim includes. (scm_system_star): Move to posix.c. * libguile/simpos.h (scm_system_star): Remove. * libguile/posix.h (scm_system_star): Add. * libguile/posix.c (scm_system_star): Move here and implement in terms of open-process. This lets system* work on Windows. Inspired by a patch by Eli Zaretskii. (start_child): Exit with 127 if the command isn't found.
Diffstat (limited to 'libguile/posix.h')
-rw-r--r--libguile/posix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libguile/posix.h b/libguile/posix.h
index 92f8b3514..078edf5eb 100644
--- a/libguile/posix.h
+++ b/libguile/posix.h
@@ -72,6 +72,7 @@ SCM_API SCM scm_mkstemp (SCM tmpl);
SCM_API SCM scm_tmpfile (void);
SCM_API SCM scm_open_pipe (SCM pipestr, SCM modes);
SCM_API SCM scm_close_pipe (SCM port);
+SCM_API SCM scm_system_star (SCM cmds);
SCM_API SCM scm_utime (SCM pathname, SCM actime, SCM modtime,
SCM actimens, SCM modtimens, SCM flags);
SCM_API SCM scm_access (SCM path, SCM how);