diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2015-12-31 16:12:59 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-12-31 16:23:16 +0100 |
commit | f2524f5bfed878ae229eea3484dad2e0e9369b3a (patch) | |
tree | 5fc02c80c3d71f47234d31179a48a71664ab35f4 /term | |
parent | 2c414dc400729160ec4d2004c60470ce59ad9008 (diff) | |
download | hurd-f2524f5bfed878ae229eea3484dad2e0e9369b3a.tar.gz hurd-f2524f5bfed878ae229eea3484dad2e0e9369b3a.tar.bz2 hurd-f2524f5bfed878ae229eea3484dad2e0e9369b3a.zip |
Define IO_OUTTRAN so that term_on_pty returns a mach_port_t
* libtrivfs/mig-decls.h: Implement trivfs_convert_to_port.
* term/mig-mutate.h: Define IO_OUTTRAN.
Diffstat (limited to 'term')
-rw-r--r-- | term/mig-mutate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/term/mig-mutate.h b/term/mig-mutate.h index af8877e2..9fcdbbc8 100644 --- a/term/mig-mutate.h +++ b/term/mig-mutate.h @@ -22,6 +22,7 @@ #define IO_INTRAN trivfs_protid_t trivfs_begin_using_protid (io_t) #define IO_INTRAN_PAYLOAD trivfs_protid_t trivfs_begin_using_protid_payload #define IO_DESTRUCTOR trivfs_end_using_protid (trivfs_protid_t) +#define IO_OUTTRAN io_t trivfs_convert_to_port (trivfs_protid_t) #define CTTY_INTRAN \ port_info_t begin_using_ctty_port (mach_port_t) |