Apache Arrow (C++)
A columnar in-memory analytics layer designed to accelerate big data.
Macros | Functions
fling.h File Reference
#include <errno.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/un.h>
#include <unistd.h>

Go to the source code of this file.

Macros

#define CMSG_SPACE(len)   (__DARWIN_ALIGN32(sizeof(struct cmsghdr)) + __DARWIN_ALIGN32(len))
 
#define CMSG_LEN(len)   (__DARWIN_ALIGN32(sizeof(struct cmsghdr)) + (len))
 

Functions

void init_msg (struct msghdr *msg, struct iovec *iov, char *buf, size_t buf_len)
 
int send_fd (int conn, int fd)
 
int recv_fd (int conn)
 

Macro Definition Documentation

◆ CMSG_LEN

#define CMSG_LEN (   len)    (__DARWIN_ALIGN32(sizeof(struct cmsghdr)) + (len))

◆ CMSG_SPACE

#define CMSG_SPACE (   len)    (__DARWIN_ALIGN32(sizeof(struct cmsghdr)) + __DARWIN_ALIGN32(len))

Function Documentation

◆ init_msg()

void init_msg ( struct msghdr *  msg,
struct iovec *  iov,
char *  buf,
size_t  buf_len 
)

◆ recv_fd()

int recv_fd ( int  conn)

◆ send_fd()

int send_fd ( int  conn,
int  fd 
)