summaryrefslogtreecommitdiff
path: root/includes/rts/TTY.h
blob: 9892571a173a7eaf4eb7adcbe5b1894318168534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* -----------------------------------------------------------------------------
 *
 * (c) The GHC Team, 2009
 *
 * POSIX TTY-related functionality
 *
 * Do not #include this file directly: #include "Rts.h" instead.
 *
 * To understand the structure of the RTS headers, see the wiki:
 *   https://gitlab.haskell.org/ghc/ghc/wikis/commentary/source-tree/includes
 *
 * -------------------------------------------------------------------------- */

#pragma once

void* __hscore_get_saved_termios(int fd);
void  __hscore_set_saved_termios(int fd, void* ts);