summaryrefslogtreecommitdiff
path: root/includes/rts/TTY.h
blob: 3555818c4a321386fb856941cf4d1d02fb6e4885 (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:
 *   http://ghc.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
 *
 * -------------------------------------------------------------------------- */

#pragma once

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