From 93222af5f286208c044d28bc71b6a5c4fdcdfdff Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 5 Dec 1995 01:59:13 +0000 Subject: (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. --- term/term.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'term') 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 *); -- cgit v1.2.3