#include "config.h"
#include <ros/io.h>
#include <ros/assert.h>
#include <errno.h>
#include <iostream>
#include <sstream>
#include <cstring>
#include <fcntl.h>
Go to the source code of this file.
Namespaces | |
ros | |
Macros | |
#define | UNUSED(expr) do { (void)(expr); } while (0) |
Functions | |
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::last_socket_error () |
ROSCPP_DECL bool | ros::last_socket_error_is_would_block () |
ROSCPP_DECL const 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) |