ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/truck/Common/posix.cpp
Revision: 10
Committed: 2007-05-07T16:54:45-07:00 (15 years, 5 months ago) by douglas
File size: 268 byte(s)
Log Message:
Boo!

File Contents

# 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 }

Properties

Name Value
svn:keywords Common/common.hpp