xstrerror.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const char * xstrerr (int error)
 

Function Documentation

const char* xstrerr ( int  error)

Provide the textual display of a system error number. A string is always returned. Where strerror() would have provided NULL this will report the error as unknown. On MS Windows the native Win32 errors are also translated.

Definition at line 83 of file xstrerror.cc.

References BUFSIZ, i, and strerror().

Referenced by _db_rotate_log(), Ftp::Server::AcceptCtrlConnection(), Ftp::Server::acceptDataConnection(), CpuAffinitySet::apply(), authenticate(), DiskdFile::close(), Fs::Ufs::UFSSwapDir::closeTmpSwapLog(), comm_connect_addr(), comm_local_port(), comm_open_uds(), comm_openex(), comm_reset_close(), comm_set_transparent(), comm_set_v6only(), comm_udp_sendto(), commBind(), commSetCloseOnExec(), commSetNoLinger(), commSetNonBlocking(), commSetReuseAddr(), commSetTcpKeepalive(), commSetTcpRcvbuf(), commUnsetNonBlocking(), DiskdFile::create(), MimeIcon::created(), Fs::Ufs::UFSSwapDir::createDirectory(), Rock::SwapDir::createError(), Ftp::Client::dataRead(), Fs::Ufs::UFSSwapDir::DirClean(), DiskerOpen(), diskerWriteAttempts(), diskHandleRead(), diskHandleWrite(), Server::doClientRead(), Comm::ConnOpener::doConnect(), SignalEngine::doShutdown(), enter_suid(), TunnelStateData::Connection::error(), examine_select(), Rock::Rebuild::failure(), file_open(), fsBlockSize(), fsStats(), Ftp::Gateway::ftpAcceptDataConnection(), ftpOpenListenSocket(), getMyHostname(), Fs::Ufs::RebuildState::getNextFile(), Ip::Qos::getTosFromServer(), GoIntoBackground(), gopherReadReply(), htcpSend(), httpAccept(), httpsAccept(), icpHandleUdp(), idnsParseResolvConf(), idnsRead(), idnsSendQuery(), Ipc::ImportFdIntoComm(), SharedMemory::init(), DiskdIOStrategy::init(), Transport::InitTls(), Rock::SwapDir::ioCompletedNotification(), ipc_thread_1(), ipcCreate(), ipcSend(), leave_suid(), TemplateFile::loadFromFile(), logfile_mod_stdio_open(), logfile_mod_stdio_rotate(), logfile_mod_udp_open(), logfile_mod_udp_write(), logfileHandleWrite(), logfileWriteWrapper(), Eui::Eui48::lookup(), Comm::ConnOpener::lookupLocalAddress(), main(), mainChangeDir(), mainSetCwd(), Mmapping::map(), mcastJoinGroups(), mcastSetTtl(), mimeInit(), netdbSaveState(), Ip::Intercept::NetfilterInterception(), no_suid(), Adaptation::Icap::Xaction::noteCommRead(), old_comm_reset_close(), Comm::TcpAcceptor::oldAccept(), MmappedFile::open(), IcmpPinger::Open(), Icmp6::Open(), Icmp4::Open(), DiskThreadsDiskFile::openDone(), Fs::Ufs::UFSSwapDir::openLog(), Fs::Ufs::UFSSwapDir::openTmpSwapLog(), parseEtcHosts(), parseManyConfigFiles(), parseOneConfigFile(), Fs::Ufs::UFSSwapDir::pathIsDirectory(), Ip::Intercept::PfInterception(), process_request(), ProcessIsRunning(), DiskdFile::read(), read_mib(), read_passwd_file(), IpcIoFile::readCompleted(), Ftp::Client::readControlReply(), Comm::ReadNow(), WhoisState::readReply(), HttpStateData::readReply(), Fs::Ufs::RebuildState::rebuildFromDirectory(), IcmpSquid::Recv(), requirePathnameExists(), rotate(), safeunlink(), Comm::SelectLoopInit(), DiskdIOStrategy::SEND(), send_announce(), IcmpSquid::SendEcho(), Icmp6::SendEcho(), Icmp4::SendEcho(), IcmpPinger::SendResult(), sendSignal(), Client::sentRequestBody(), Comm::TcpAcceptor::setListen(), setMaxFD(), Ip::Qos::setSockNfmark(), Ip::Qos::setSockTos(), setSystemLimits(), sigusr2_handle(), snmpHandleUdp(), squid_signal(), Squid_SSL_accept(), ConnStateData::start(), storeRebuildLoadEntry(), File::sysCallError(), CpuAffinitySet::undo(), unlinkdUnlink(), DiskdIOStrategy::unlinkFile(), Mmapping::unmap(), store_client::unpackHeader(), StoreEntry::vappendf(), watch_child(), wccp2AssignBuckets(), wccp2ConnectionOpen(), wccp2HereIam(), wccpHereIam(), MmappedFile::write(), DiskdFile::write(), UFSCleanLog::write(), Fs::Ufs::UFSSwapDir::writeCleanDone(), Ftp::Client::writeCommandCallback(), IpcIoFile::writeCompleted(), Log::TcpLogger::writeDone(), HttpControlMsgSink::wroteControlMsg(), Ftp::Server::wroteEarlyReply(), Ftp::Server::wroteReply(), Ftp::Server::wroteReplyData(), and xrename().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors