diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-12-05 01:59:13 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-12-05 01:59:13 +0000 |
commit | 93222af5f286208c044d28bc71b6a5c4fdcdfdff (patch) | |
tree | c07d900e09746633a892069e9e0c72cb56078a2f /term | |
parent | bb5be25ac316f6f192d4649c265a07775373a98f (diff) |
(pty_io_write, pty_io_read, pty_io_readable, pty_io_get_openmodes,
pty_io_set_all_openmodes, pty_io_set_some_openmodes,
pty_io_clear_some_openmodes, pty_io_mod_owner, pty_io_get_owner,
pty_io_get_async_icky, pty_io_async, pty_io_select): New declarations.
Diffstat (limited to 'term')
-rw-r--r-- | term/term.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/term/term.h b/term/term.h index c135349c..379f12fc 100644 --- a/term/term.h +++ b/term/term.h @@ -282,3 +282,19 @@ void rescan_inputq (void); void write_character (int); void init_users (void); +/* kludge--these are pty versions of trivfs_S_io_* functions called by + the real functions in users.c to do work for ptys. */ +error_t pty_io_write (char *, unsigned int, int *); +error_t pty_io_read (char **, unsigned int, int); +error_t pty_io_readable (int *); +error_t pty_io_get_openmodes (struct trivfs_protid *, int *); +error_t pty_io_set_all_openmodes (struct trivfs_protid *, int); +error_t pty_io_set_some_openmodes (struct trivfs_protid *, int); +error_t pty_io_clear_some_openmodes (struct trivfs_protid *, int); +error_t pty_io_mod_owner (pid_t); +error_t pty_io_get_owner (pid_t *); +error_t pty_io_get_async_icky (struct trivfs_protid *, + mach_port_t *, mach_msg_type_name_t *); +error_t pty_io_async (struct trivfs_protid *, mach_port_t, mach_port_t *, + mach_msg_type_name_t *); +error_t pty_io_select (struct trivfs_protid *, int *, int *); |