… | |
… | |
31 | #include <sys/uio.h> |
31 | #include <sys/uio.h> |
32 | #include <sys/socket.h> |
32 | #include <sys/socket.h> |
33 | |
33 | |
34 | #include "libptytty.h" |
34 | #include "libptytty.h" |
35 | |
35 | |
36 | #ifndef CMSG_LEN // CMSG_SPACe && CMSG_LEN are rfc2292 extensions to unix |
36 | #ifndef CMSG_LEN // CMSG_SPACE && CMSG_LEN are rfc2292 extensions to unix |
37 | # define CMSG_LEN(len) (sizeof (cmsghdr) + len) |
37 | # define CMSG_LEN(len) (sizeof (cmsghdr) + len) |
38 | #endif |
38 | #endif |
39 | |
39 | |
40 | bool |
40 | bool |
41 | ptytty::send_fd (int socket, int fd) |
41 | ptytty::send_fd (int socket, int fd) |