Home
last modified time | relevance | path

Searched refs:getErrnoString (Results 1 – 8 of 8) sorted by relevance

/dports/devel/cxxtools/cxxtools-2.2.1/src/
H A Derror.h39 std::string getErrnoString(int err, const char* fn);
40 std::string getErrnoString(int err);
42 inline std::string getErrnoString(const char* fn) in getErrnoString() function
44 return getErrnoString(errno, fn); in getErrnoString()
47 inline std::string getErrnoString() in getErrnoString() function
49 return getErrnoString(errno); in getErrnoString()
H A Diodeviceimpl.cpp96 throw AccessFailed(getErrnoString("open failed")); in open()
104 throw IOError(getErrnoString("Could not set FD_CLOEXEC")); in open()
120 throw IOError(getErrnoString("Could not set fd to non-blocking")); in open()
129 throw IOError(getErrnoString("Could not set FD_CLOEXEC")); in open()
150 throw IOError(getErrnoString("Could not close file handle")); in close()
211 throw IOError(getErrnoString("read failed")); in read()
295 throw IOError(getErrnoString("Could not write to file handle")); in write()
331 throw IOError(getErrnoString("Could not sync handle")); in sync()
381 throw IOError(getErrnoString("poll failed")); in wait()
H A Dfiledeviceimpl.cpp88 throw IOError(getErrnoString("lseek failed")); in seek()
98 throw IOError(getErrnoString("ftruncate failed")); in resize()
108 throw IOError(getErrnoString("fstat failed")); in size()
H A Dtcpserverimpl.cpp147 log_debug("could not create socket: " << getErrnoString()); in listen()
155 … log_debug("could not set socket option SO_REUSEADDR " << fd << ": " << getErrnoString()); in listen()
165 … log_debug("could not set socket option IPV6_V6ONLY " << fd << ": " << getErrnoString()); in listen()
176 log_debug("could not bind " << fd << ": " << getErrnoString()); in listen()
201 throw IOError(getErrnoString("Could not set FD_CLOEXEC")); in listen()
496 throw IOError(getErrnoString("Could not set FD_CLOEXEC")); in accept()
H A Dsystemerror.cpp40 : std::runtime_error( getErrnoString(err, fn) ) in SystemError()
48 : std::runtime_error( getErrnoString(fn) ) in SystemError()
H A Derror.cpp86 std::string getErrnoString(int errnum) in getErrnoString() function
94 std::string getErrnoString(int errnum, const char* fn) in getErrnoString() function
H A Dtcpsocketimpl.cpp70 << ": " << getErrnoString(err); in connectFailedMessage()
231 << ": " << getErrnoString(); in tryConnect()
H A Dfileimpl.cpp72 throw IOError(getErrnoString(errno)); in throwErrno()