diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-11-18 02:16:14 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-11-18 02:16:14 -0800 |
commit | c9c2fc5ee346e15e934dd72ed08774d769cfd7a1 (patch) | |
tree | 0746962ac6267fcccb25eb6950074450d7bbc47d /common.h | |
parent | b79854ad1aa814d9d35d76a1929b4726fa4bffa5 (diff) |
Restore terminal foreground process group on exit
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -729,6 +729,10 @@ void configure_thread_assertions_for_testing(); /** Set up a guard to complain if we try to do certain things (like take a lock) after calling fork */ void setup_fork_guards(void); +/** Save the value of tcgetpgrp so we can restore it on exit */ +void save_term_foreground_process_group(void); +void restore_term_foreground_process_group(void); + /** Return whether we are the child of a fork */ bool is_forked_child(void); void assert_is_not_forked_child(const char *who); |