LLVM: lib/Support/raw_socket_stream.cpp File Reference (original) (raw)
#include "[llvm/Support/raw_socket_stream.h](raw%5F%5Fsocket%5F%5Fstream%5F8h%5Fsource.html)"
#include "llvm/Config/config.h"
#include "[llvm/Support/Error.h](llvm%5F2Support%5F2Error%5F8h%5Fsource.html)"
#include "[llvm/Support/FileSystem.h](FileSystem%5F8h%5Fsource.html)"
#include <atomic>
#include <fcntl.h>
#include <functional>
#include <poll.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <unistd.h>
Go to the source code of this file.
◆ getLastSocketErrorCode()
| std::error_code getLastSocketErrorCode ( ) |
static |
◆ getSocketFD()
◆ manageTimeout()
| std::error_code manageTimeout ( const std::chrono::milliseconds & Timeout, const std::function< int()> & getActiveFD, const std::optional< int > & CancelFD = std::nullopt ) |
static |
◆ setSocketAddr()
| sockaddr_un setSocketAddr ( StringRef SocketPath) |
static |