Namespaces | Macros | Functions
io.cpp File Reference
#include "config.h"
#include <ros/io.h>
#include <ros/assert.h>
#include <ros/file_log.h>
#include <errno.h>
#include <iostream>
#include <sstream>
#include <cstring>
#include <fcntl.h>
Include dependency graph for io.cpp:

Go to the source code of this file.




#define UNUSED(expr)   do { (void)(expr); } while (0)


ROSCPP_DECL void ros::add_socket_to_watcher (int epfd, int fd)
ROSCPP_DECL int ros::close_socket (socket_fd_t &socket)
 Close the socket. More...
ROSCPP_DECL void ros::close_socket_watcher (int fd)
ROSCPP_DECL int ros::create_signal_pair (signal_fd_t signal_pair[2])
ROSCPP_DECL int ros::create_socket_watcher ()
ROSCPP_DECL void ros::del_socket_from_watcher (int epfd, int fd)
ROSCPP_DECL int ros::is_async_connected (socket_fd_t &socket, int &err)
ROSCPP_DECL int ros::last_socket_error ()
ROSCPP_DECL bool ros::last_socket_error_is_would_block ()
const ROSCPP_DECL char * ros::last_socket_error_string ()
ROSCPP_DECL pollfd_vector_ptr ros::poll_sockets (int epfd, socket_pollfd *fds, nfds_t nfds, int timeout)
 A cross platform polling function for sockets. More...
ROSCPP_DECL void ros::set_events_on_socket (int epfd, int fd, int events)
ROSCPP_DECL int ros::set_non_blocking (socket_fd_t &socket)
const ROSCPP_DECL char * ros::socket_error_string (int err)

Macro Definition Documentation


#define UNUSED (   expr)    do { (void)(expr); } while (0)

Definition at line 60 of file io.cpp.

Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas , Jacob Perron
autogenerated on Thu Nov 23 2023 04:01:44