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
|
|
|
|
2001-01-01 12:22:54 -05:00
|
|
|
s48_value scheme_exec(s48_value 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);
|
|
|
|
|
2001-01-01 12:22:54 -05:00
|
|
|
s48_value scsh_chdir(s48_value directory);
|
|
|
|
|
|
|
|
s48_value scheme_cwd();
|
1999-09-14 09:32:05 -04:00
|
|
|
|
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
|
|
|
|
2001-01-01 12:22:54 -05:00
|
|
|
s48_value scheme_stat(s48_value path, s48_value vec, s48_value chase_p);
|
|
|
|
|
|
|
|
s48_value scheme_fstat(s48_value fd, s48_value vec);
|
|
|
|
|
|
|
|
s48_value scsh_getgid();
|
|
|
|
|
|
|
|
s48_value scsh_getegid();
|
|
|
|
|
|
|
|
s48_value scsh_setgid(s48_value gid);
|
|
|
|
|
|
|
|
s48_value scsh_setegid(s48_value gid);
|
|
|
|
|
|
|
|
s48_value get_groups();
|
|
|
|
|
|
|
|
s48_value scsh_getuid();
|
1999-09-14 09:32:05 -04:00
|
|
|
|
2001-01-01 12:22:54 -05:00
|
|
|
s48_value scsh_geteuid();
|
1999-09-14 09:32:05 -04:00
|
|
|
|
2001-01-01 12:22:54 -05:00
|
|
|
s48_value scsh_setuid(s48_value uid);
|
1999-09-14 09:32:05 -04:00
|
|
|
|
2001-01-01 12:22:54 -05:00
|
|
|
s48_value scsh_seteuid(s48_value uid);
|
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);
|
2001-01-02 09:43:27 -05:00
|
|
|
|
|
|
|
s48_value scm_openlog (s48_value _ident, s48_value _option, s48_value _facility);
|
|
|
|
|
|
|
|
s48_value scm_syslog (s48_value _facility, s48_value _level, s48_value _message);
|
|
|
|
|
|
|
|
s48_value scm_closelog();
|
|
|
|
|