#include "blocxx/BLOCXX_config.h"#include "blocxx/DescriptorUtils_noexcept.hpp"#include "blocxx/AutoDescriptor.hpp"#include <cstring>#include <sys/types.h>#include <sys/socket.h>#include <sys/uio.h>Go to the source code of this file.
Namespaces | |
| namespace | BLOCXX_NAMESPACE |
Defines | |
| #define | CMSG_LEN(size) (sizeof(struct cmsghdr) + (size)) |
| #define | CMSG_SPACE(size) (sizeof(struct cmsghdr) + (size)) |
Functions | |
| AutoDescriptor | BLOCXX_NAMESPACE::copy_error (char *dst, size_t dstsz, char const *src) |
| int | BLOCXX_NAMESPACE::passDescriptor (Descriptor streamPipe, Descriptor descriptor, ProcId targetProcess=0) |
Sends a Descriptor to the peer. | |
| AutoDescriptor | BLOCXX_NAMESPACE::receiveDescriptor (Descriptor streamPipe, char *errbuf, size_t bufsz) |
Gets a Descriptor from the peer. | |
Variables | |
| char const | BLOCXX_NAMESPACE::MAGIC_CHAR = '\xa5' |
| #define CMSG_LEN | ( | size | ) | (sizeof(struct cmsghdr) + (size)) |
Referenced by BLOCXX_NAMESPACE::passDescriptor(), and BLOCXX_NAMESPACE::receiveDescriptor().
| #define CMSG_SPACE | ( | size | ) | (sizeof(struct cmsghdr) + (size)) |
Referenced by BLOCXX_NAMESPACE::passDescriptor(), and BLOCXX_NAMESPACE::receiveDescriptor().
1.5.6