1999-09-14 09:32:05 -04:00
|
|
|
/* Exports from syscalls1.c. */
|
|
|
|
|
2000-07-27 09:32:12 -04:00
|
|
|
s48_value wait_pid(s48_value pid, s48_value flags);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
1999-09-15 20:20:37 -04:00
|
|
|
int scheme_exec(const char *prog, s48_value argv, s48_value env);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
2000-09-19 04:08:39 -04:00
|
|
|
s48_value scsh_exit (s48_value status);
|
|
|
|
|
|
|
|
s48_value scsh__exit (s48_value status);
|
|
|
|
|
|
|
|
s48_value scsh_fork ();
|
|
|
|
|
|
|
|
s48_value scheme_pipe();
|
|
|
|
|
|
|
|
s48_value scsh_kill (s48_value pid, s48_value signal);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
2000-09-20 06:14:11 -04:00
|
|
|
s48_value scm_readlink(s48_value path);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
1999-09-28 19:48:36 -04:00
|
|
|
int scm_utime(char const *path, time_t ac, time_t mod);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
|
|
|
int scm_utime_now(char const *path);
|
|
|
|
|
2000-09-20 06:14:11 -04:00
|
|
|
s48_value set_cloexec(s48_value _fd, s48_value _val);
|
|
|
|
|
1999-09-14 09:32:05 -04:00
|
|
|
int scheme_cwd(const char **dirp);
|
|
|
|
|
1999-09-29 18:47:33 -04:00
|
|
|
int process_times(clock_t *utime, clock_t *stime,
|
|
|
|
clock_t *cutime, clock_t *cstime);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
|
|
|
int cpu_clock_ticks_per_sec();
|
|
|
|
|
1999-09-15 20:20:37 -04:00
|
|
|
s48_value read_fdes_char(int fd);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
|
|
|
int write_fdes_char(char c, int fd);
|
|
|
|
|
1999-09-29 18:47:33 -04:00
|
|
|
ssize_t read_fdes_substring(s48_value buf, size_t start, size_t end, int fd);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
1999-09-15 20:20:37 -04:00
|
|
|
int read_stream_substring(s48_value buf, int start, int end, FILE *f);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
1999-09-29 18:47:33 -04:00
|
|
|
ssize_t write_fdes_substring(s48_value buf, size_t start, size_t end, int fd);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
1999-09-15 20:20:37 -04:00
|
|
|
int write_stream_substring(s48_value buf, int start, int end, FILE *f);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
1999-09-15 20:20:37 -04:00
|
|
|
int scheme_stat(const char *path, s48_value vec, int chase_p);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
1999-09-15 20:20:37 -04:00
|
|
|
int scheme_fstat(int fd, s48_value vec);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
|
|
|
int num_supp_groups(void);
|
|
|
|
|
1999-09-15 20:20:37 -04:00
|
|
|
int get_groups(s48_value gvec);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
|
|
|
int put_env(const char *s);
|
|
|
|
|
2000-05-16 05:24:54 -04:00
|
|
|
s48_value scm_envvec(void);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
1999-09-15 20:20:37 -04:00
|
|
|
int install_env(s48_value vec);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
2000-06-28 06:27:34 -04:00
|
|
|
s48_value delete_env(s48_value var);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
1999-11-04 15:23:25 -05:00
|
|
|
s48_value scm_gethostname(void);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
|
|
|
char *errno_msg(int i);
|
|
|
|
|
2000-09-19 04:08:39 -04:00
|
|
|
s48_value fcntl_read(s48_value fd, s48_value command);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
2000-09-19 04:08:39 -04:00
|
|
|
s48_value fcntl_write(s48_value fd, s48_value command, s48_value value);
|
1999-11-04 15:23:25 -05:00
|
|
|
|
|
|
|
s48_value scm_crypt(s48_value key, s48_value salt);
|