Changeset 800 for trunk/rtorrent/rak/error_number.h
- Timestamp:
- 11/04/06 11:05:28 (6 years ago)
- Files:
-
- 1 modified
-
trunk/rtorrent/rak/error_number.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/rtorrent/rak/error_number.h
r743 r800 54 54 static const int e_nomem = ENOMEM; 55 55 static const int e_notdir = ENOTDIR; 56 static const int e_isdir = EISDIR; 56 57 57 58 static const int e_intr = EINTR; … … 74 75 static error_number current() { return errno; } 75 76 static void clear_global() { errno = 0; } 77 static void set_global(error_number err) { errno = err.m_errno; } 76 78 77 79 bool operator == (const error_number& e) const { return m_errno == e.m_errno; }
