34a35
> #include <string>
35a37,38
> using std::string;
>
94,102c97,105
< static const unsigned TIOCGETP_ = 0x7408;
< static const unsigned TIOCSETP_ = 0x7409;
< static const unsigned TIOCSETN_ = 0x740a;
< static const unsigned TIOCSETC_ = 0x7411;
< static const unsigned TIOCGETC_ = 0x7412;
< static const unsigned FIONREAD_ = 0x467f;
< static const unsigned TIOCISATTY_ = 0x5480;
< static const unsigned TIOCGETS_ = 0x7413;
< static const unsigned TIOCGETA_ = 0x7417;
---
> static const unsigned TIOCGETP = 0x7408;
> static const unsigned TIOCSETP = 0x7409;
> static const unsigned TIOCSETN = 0x740a;
> static const unsigned TIOCSETC = 0x7411;
> static const unsigned TIOCGETC = 0x7412;
> static const unsigned FIONREAD = 0x467f;
> static const unsigned TIOCISATTY = 0x5480;
> static const unsigned TIOCGETS = 0x540d;
> static const unsigned TIOCGETA = 0x7417;
108c111
< /// Resource enumeration for getrlimit().
---
> /// Resource enumeration for getrlimit()/setrlimit().
121c124,125
< TGT_RLIMIT_LOCKS = 10
---
> TGT_RLIMIT_LOCKS = 10,
> NUM_RLIMIT_RESOURCES
123a128,131
> /// Offset used to make sure that processes don't
> /// assign themselves to process IDs reserved for
> /// the root users.
> static const int NUM_ROOT_PROCS = 2;