Apache Mesos
Namespaces | Functions
write.hpp File Reference
#include <cstring>
#include <stout/error.hpp>
#include <stout/nothing.hpp>
#include <stout/try.hpp>
#include <stout/os/close.hpp>
#include <stout/os/int_fd.hpp>
#include <stout/os/open.hpp>
#include <stout/os/socket.hpp>
#include <stout/os/posix/write.hpp>

Go to the source code of this file.

Namespaces

 os
 
 os::signal_safe
 

Functions

ssize_t os::signal_safe::write_impl (int_fd fd, const char *buffer, size_t count)
 
ssize_t os::signal_safe::write (int_fd fd, const char *message)
 
ssize_t os::signal_safe::write (int_fd fd, const std::string &message)
 Performs a series of asynchronous writes, until all of data has been written. More...
 
template<typename T , typename... Args>
ssize_t os::signal_safe::write (int_fd fd, const T &message, Args...args)
 
Try< Nothingos::write (int_fd fd, const std::string &message)
 Performs a series of asynchronous writes, until all of data has been written. More...
 
Try< Nothingos::write (const std::string &path, const std::string &message)
 
Try< Nothingos::write (const char *path, const std::string &message)