1999-09-14 09:32:05 -04:00
|
|
|
/* Exports from syscalls1.c. */
|
|
|
|
|
1999-10-10 13:33:06 -04:00
|
|
|
s48_value wait_pid(pid_t pid, int flags, pid_t *result_pid, int *status);
|
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
|
|
|
|
|
|
|
int scheme_pipe(int *r, int *w);
|
|
|
|
|
|
|
|
char const *scm_readlink(const char *path);
|
|
|
|
|
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);
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
|
|
|
char** scm_envvec(int *len);
|
|
|
|
|
1999-09-15 20:20:37 -04:00
|
|
|
int install_env(s48_value vec);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
|
|
|
void delete_env(const char *var);
|
|
|
|
|
|
|
|
char *scm_gethostname(void);
|
|
|
|
|
|
|
|
char *errno_msg(int i);
|
|
|
|
|
|
|
|
int fcntl_read(int fd, int command);
|
|
|
|
|
|
|
|
int fcntl_write(int fd, int command, int value);
|