#include <config.h>
#include "sbuild.h"
#include <iostream>
#include <termios.h>
#include <unistd.h>
#include <boost/format.hpp>
Include dependency graph for sbuild-auth-conv-tty.cc:
Functions | |
void | reset_alarm (struct sigaction *orig_sa) |
Disable the alarm and signal handler. | |
void | alarm_handler (int ignore) |
Handle the SIGALRM signal. | |
bool | set_alarm (int delay, struct sigaction *orig_sa) |
Set the SIGALARM handler, and set the timeout to delay seconds. | |
Variables | |
volatile sig_atomic_t | timer_expired = false |
|
Handle the SIGALRM signal.
|
|
Disable the alarm and signal handler.
|
|
Set the SIGALARM handler, and set the timeout to delay seconds. The old signal handler is stored in orig_sa.
|
|
|