Revision: | 2 |
Committed: | 2007-04-25T21:28:10-07:00 (18 years, 2 months ago) by douglas |
File size: | 268 byte(s) |
Log Message: | Woo! |
# | Content |
---|---|
1 | // Truck Computer Dooom! |
2 | // |
3 | // Douglas Thrift |
4 | // |
5 | // $Id$ |
6 | |
7 | #ifdef _GNU_SOURCE |
8 | #undef _GNU_SOURCE |
9 | #endif |
10 | |
11 | #define _XOPEN_SOURCE 600 |
12 | |
13 | #include "posix.hpp" |
14 | |
15 | namespace Posix |
16 | { |
17 | |
18 | Error::Error() : code(errno) |
19 | { |
20 | CheckError(::strerror_r(code, message, sizeof (message))); |
21 | } |
22 | |
23 | } |