|
acl
3.5.3.0
|
浏览该文件的文档. 1 #ifndef ACL_TRANSFER_FD_INCLUDE_H 2 #define ACL_TRANSFER_FD_INCLUDE_H 8 #include "../acl_define.h" 12 #include <sys/types.h> 13 #include <sys/socket.h> 16 #undef HAVE_MSGHDR_MSG_CONTROL 18 #define HAVE_MSGHDR_MSG_CONTROL 22 #define CMSG_LEN(size) (sizeof(struct cmsghdr) + (size)) 26 #define CMSG_SPACE(size) (sizeof(struct cmsghdr) + (size)) 29 int acl_read_fd(
int fd,
void *ptr,
int nbytes,
int *recv_fd);
30 int acl_write_fd(
int fd,
void *ptr,
int nbytes,
int send_fd);