sbuild  1.6.10
sbuild-ctty.h
1 /* Copyright © 2006-2007 Roger Leigh <rleigh@debian.org>
2  *
3  * schroot is free software: you can redistribute it and/or modify it
4  * under the terms of the GNU General Public License as published by
5  * the Free Software Foundation, either version 3 of the License, or
6  * (at your option) any later version.
7  *
8  * schroot is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  * General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see
15  * <http://www.gnu.org/licenses/>.
16  *
17  *********************************************************************/
18 
19 #ifndef SBUILD_CTTY_H
20 #define SBUILD_CTTY_H
21 
22 #include <sbuild/sbuild-fdstream.h>
23 #include <sbuild/sbuild-parse-error.h>
24 
25 namespace sbuild
26 {
27 
30  {
37  };
38 
41 
46  extern const int CTTY_FILENO;
47 
52  extern fdstream cctty;
53 
54 }
55 
56 #endif /* SBUILD_CTTY_H */
57 
58 /*
59  * Local Variables:
60  * mode:C++
61  * End:
62  */
Debian source builder components.
Definition: sbuild-auth-null.h:24
fdstream cctty
CTTY stream.
The controlling terminal close-on-execute flag could not be set.
Definition: sbuild-ctty.h:33
const int CTTY_FILENO
CTTY fd.
The controlling terminal file descriptor could not be duplicated.
Definition: sbuild-ctty.h:36
parse_error< ctty_error_code > ctty_error
Exception type.
Definition: sbuild-ctty.h:40
Parse error.
Definition: sbuild-parse-error.h:35
ctty_error_code
Error codes.
Definition: sbuild-ctty.h:29